SparseAccessorValues class

An object pointing to a buffer view containing the deviating accessor values. The number of elements is equal to accessor.sparse.count times number of components. The elements have the same component type as the base accessor. The elements are tightly packed. Data MUST be aligned following the same rules as the base accessor.

Inheritance

Constructors

SparseAccessorValues.new({required GltfRoot root, required GltfRef<BufferView> bufferView, required int byteOffset})
SparseAccessorValues.parse(GltfRoot root, Map<String, Object?> map)

Properties

bufferView GltfRef<BufferView>
The index of the bufferView with sparse values. The referenced buffer view MUST NOT have its target or byteStride properties defined.
final
byteOffset int
The offset relative to the start of the bufferView in bytes.
final
hashCode int
The hash code for this object.
no setterinherited
root GltfRoot
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited