public class Accessor extends GlTFChildOfRootProperty
| Constructor and Description |
|---|
Accessor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
defaultByteStride()
Returns the default value of the byteStride
|
java.lang.String |
getBufferView()
The ID of the bufferView.
|
java.lang.Integer |
getByteOffset()
The offset relative to the start of the bufferView in bytes.
|
java.lang.Integer |
getByteStride()
The stride, in bytes, between attributes referenced by this accessor.
|
java.lang.Integer |
getComponentType()
The datatype of components in the attribute.
|
java.lang.Integer |
getCount()
The number of attributes referenced by this accessor.
|
java.lang.Number[] |
getMax()
Maximum value of each component in this attribute.
|
java.lang.Number[] |
getMin()
Minimum value of each component in this attribute.
|
java.lang.String |
getType()
Specifies if the attribute is a scalar, vector, or matrix.
|
void |
setBufferView(java.lang.String bufferView)
The ID of the bufferView.
|
void |
setByteOffset(java.lang.Integer byteOffset)
The offset relative to the start of the bufferView in bytes.
|
void |
setByteStride(java.lang.Integer byteStride)
The stride, in bytes, between attributes referenced by this accessor.
|
void |
setComponentType(java.lang.Integer componentType)
The datatype of components in the attribute.
|
void |
setCount(java.lang.Integer count)
The number of attributes referenced by this accessor.
|
void |
setMax(java.lang.Number[] max)
Maximum value of each component in this attribute.
|
void |
setMin(java.lang.Number[] min)
Minimum value of each component in this attribute.
|
void |
setType(java.lang.String type)
Specifies if the attribute is a scalar, vector, or matrix.
|
getName, setNameaddExtensions, getExtensions, getExtras, removeExtensions, setExtensions, setExtraspublic void setBufferView(java.lang.String bufferView)
bufferView - The bufferView to setjava.lang.NullPointerException - If the given value is nullpublic java.lang.String getBufferView()
public void setByteOffset(java.lang.Integer byteOffset)
byteOffset - The byteOffset to setjava.lang.NullPointerException - If the given value is nulljava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Integer getByteOffset()
public void setByteStride(java.lang.Integer byteStride)
byteStride - The byteStride to setjava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Integer getByteStride()
public java.lang.Integer defaultByteStride()
getByteStride()public void setComponentType(java.lang.Integer componentType)
componentType - The componentType to setjava.lang.NullPointerException - If the given value is nulljava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Integer getComponentType()
public void setCount(java.lang.Integer count)
count - The count to setjava.lang.NullPointerException - If the given value is nulljava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Integer getCount()
public void setType(java.lang.String type)
type - The type to setjava.lang.NullPointerException - If the given value is nulljava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.String getType()
public void setMax(java.lang.Number[] max)
max - The max to setjava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Number[] getMax()
public void setMin(java.lang.Number[] min)
min - The min to setjava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Number[] getMin()
Copyright © 2024. All Rights Reserved.