Class AccessorSparse
Inheritance
AccessorSparse
Assembly: Evergine.Assets.dll
Syntax
public class AccessorSparse
Properties
Count
Number of entries stored in the sparse array.
Declaration
[JsonRequired]
[JsonProperty("count")]
public int Count { get; set; }
Property Value
Extensions
Dictionary object with extension-specific objects.
Declaration
[JsonProperty("extensions")]
public Dictionary<string, object> Extensions { get; set; }
Property Value
Application-specific data.
Declaration
[JsonProperty("extras")]
public Extras Extras { get; set; }
Property Value
Indices
Index array of size count
that points to those accessor attributes that deviate from their initialization value. Indices must strictly increase.
Declaration
[JsonRequired]
[JsonProperty("indices")]
public AccessorSparseIndices Indices { get; set; }
Property Value
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.
Declaration
[JsonRequired]
[JsonProperty("values")]
public AccessorSparseValues Values { get; set; }
Property Value
Methods
ShouldSerializeExtensions()
Declaration
public bool ShouldSerializeExtensions()
Returns
Declaration
public bool ShouldSerializeExtras()
Returns
ShouldSerializeIndices()
Declaration
public bool ShouldSerializeIndices()
Returns
ShouldSerializeValues()
Declaration
public bool ShouldSerializeValues()
Returns
Extension Methods