GltfAccessorSparse Class

Definition

Sparse storage of attributes that deviate from their initialization value. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/accessor.sparse.schema.json

C++
public ref class GltfAccessorSparse : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfProperty
Inheritance
GltfAccessorSparse
Attributes

Constructors

Fields

count

Number of entries stored in the sparse array. 1

Extensions

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extension.schema.json

(Inherited from GltfProperty)
Extras

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extras.schema.json

(Inherited from GltfProperty)
indicies

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

values

"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.

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0