Sparse storage of attributes that deviate from their initialization value

interface IAccessorSparse {
    extensions?: Record<string, unknown>;
    extras?: Record<string, unknown>;
    count: number;
    indices: IAccessorSparseIndices;
    values: IAccessorSparseValues;
}

Hierarchy (view full)

Properties

extensions?: Record<string, unknown>

Dictionary object with extension-specific objects

extras?: Record<string, unknown>

Application-Specific data

count: number

The number of attributes encoded in this sparse accessor

Index array of size count that points to those accessor attributes that deviate from their initialization value. Indices must strictly increase

Array of size count times number of components, storing the displaced accessor attributes pointed by indices. Substituted values must have the same componentType and number of components as the base accessor