public class Accessor extends GlTFChildOfRootProperty
| Constructor and Description |
|---|
Accessor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
defaultByteOffset()
Returns the default value of the byteOffset
|
java.lang.Boolean |
defaultNormalized()
Returns the default value of the normalized
|
java.lang.Integer |
getBufferView()
The index of the bufferView.
|
java.lang.Integer |
getByteOffset()
The offset relative to the start of the buffer view in bytes.
|
java.lang.Integer |
getComponentType()
The datatype of the accessor's components.
|
java.lang.Integer |
getCount()
The number of elements referenced by this accessor.
|
java.lang.Number[] |
getMax()
Maximum value of each component in this accessor.
|
java.lang.Number[] |
getMin()
Minimum value of each component in this accessor.
|
AccessorSparse |
getSparse()
Sparse storage of elements that deviate from their initialization
value.
|
java.lang.String |
getType()
Specifies if the accessor's elements are scalars, vectors, or
matrices.
|
java.lang.Boolean |
isNormalized()
Specifies whether integer data values are normalized before usage.
|
void |
setBufferView(java.lang.Integer bufferView)
The index of the bufferView.
|
void |
setByteOffset(java.lang.Integer byteOffset)
The offset relative to the start of the buffer view in bytes.
|
void |
setComponentType(java.lang.Integer componentType)
The datatype of the accessor's components.
|
void |
setCount(java.lang.Integer count)
The number of elements referenced by this accessor.
|
void |
setMax(java.lang.Number[] max)
Maximum value of each component in this accessor.
|
void |
setMin(java.lang.Number[] min)
Minimum value of each component in this accessor.
|
void |
setNormalized(java.lang.Boolean normalized)
Specifies whether integer data values are normalized before usage.
|
void |
setSparse(AccessorSparse sparse)
Sparse storage of elements that deviate from their initialization
value.
|
void |
setType(java.lang.String type)
Specifies if the accessor's elements are scalars, vectors, or
matrices.
|
getName, setNameaddExtensions, getExtensions, getExtras, removeExtensions, setExtensions, setExtraspublic void setBufferView(java.lang.Integer bufferView)
bufferView - The bufferView to setpublic java.lang.Integer getBufferView()
public void setByteOffset(java.lang.Integer byteOffset)
byteOffset - The byteOffset to setjava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Integer getByteOffset()
public java.lang.Integer defaultByteOffset()
getByteOffset()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 setNormalized(java.lang.Boolean normalized)
normalized - The normalized to setpublic java.lang.Boolean isNormalized()
public java.lang.Boolean defaultNormalized()
isNormalized()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()
public void setSparse(AccessorSparse sparse)
sparse - The sparse to setpublic AccessorSparse getSparse()
Copyright © 2024. All Rights Reserved.