RawAccessor class
Constructors
RawAccessor.new ({required GltfRoot root , required GltfRef <BufferView > bufferView , required int byteOffset , required ComponentType componentType , required bool normalized , required int count , required AccessorType type , required List <double > ? max , required List <double > ? min , required SparseAccessor ? sparse })
RawAccessor.parse (GltfRoot root , Map <String , Object ? > map )
Properties
bufferView
→ GltfRef <BufferView >
The reference to the buffer view.
When undefined, the accessor MUST be initialized with zeros; sparse
property or extensions MAY override zeros with actual values.
final
byteOffset
→ int
The offset relative to the start of the buffer view in bytes.
final
componentType
→ ComponentType
The datatype of the accessor's components.
UNSIGNED_INT type MUST NOT be used for any accessor that is not
referenced by mesh.primitive.indices
.
final
count
→ int
The number of elements referenced by this accessor, not to be confused
with the number of bytes or number of components.
final
hashCode
→ int
The hash code for this object.
no setter inherited
max
→ List <double > ?
Maximum value of each component in this accessor.
Array elements MUST be treated as having the same data type as
accessor's componentType
.
final
min
→ List <double > ?
Minimum value of each component in this accessor.
final
normalized
→ bool
Specifies whether integer data values are normalized (true
) to 0, 1
(for unsigned types) or to -1, 1
(for signed types) when they are
accessed.
final
root
→ GltfRoot
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
sparse
→ SparseAccessor ?
Sparse storage of elements that deviate from their initialization value.
final
type
→ AccessorType
Specifies if the accessor's elements are scalars, vectors, or matrices.
This should match the type used for a TypedAccessor .
final
flame_3d_extras 0.1.0-dev.3