Class Accessor

Accessor class

public sealed class Accessor : LogicalChildOfRoot

Properties

NameDescription
ByteLength { get; }Gets the number of bytes, starting at ByteOffset use by this Accessor
ByteOffset { get; }Gets the starting byte offset within SourceBufferView.
Count { get; }Gets the number of items.
Dimensions { get; }Gets the DimensionType of an item.
Encoding { get; }Gets the EncodingType of an item.
Extensions { get; }Gets a collection of JsonSerializable instances.
Extras { get; set; }Gets or sets the extras content of this instance.
Format { get; }
IsSparse { get; }Gets a value indicating whether this Accessor has a sparse structure.
LogicalIndex { get; }Gets the zero-based index of this object in the Logical resources of GlbData.
LogicalParent { get; }Gets the GlbData instance that owns this object.
Name { get; set; }Gets or sets the display text name, or null.
Normalized { get; }Gets a value indicating whether the items values are normalized.
SourceBufferView { get; }Gets the BufferView buffer that contains the items as an encoded byte array.

Methods

NameDescription
AsColorArray(float)
AsIndicesArray()
AsMatrix2x2Array()
AsMatrix3x3Array()
AsMatrix4x3Array()
AsMatrix4x4Array()
AsMultiArray(int)
AsQuaternionArray()
AsScalarArray()
AsVector2Array()
AsVector3Array()
AsVector4Array()
GetExtension<T>()
RemoveExtensions<T>()
RemoveExtensions<T>(T)
SetData(BufferView, int, int, DimensionType, EncodingType, bool?)Associates this Accessor with a BufferView
SetExtension<T>(T)
SetIndexData(MemoryAccessor)
SetIndexData(BufferView, int, int, IndexEncodingType)Associates this Accessor with a BufferView
SetVertexData(MemoryAccessor)
SetVertexData(BufferView, int, int, DimensionType, EncodingType, bool)Associates this Accessor with a BufferView
TryGetVertexBytes(int)
UpdateBounds()
UseExtension<T>()

See Also