Class Accessor
Assembly: Evergine.Assets.dll
Syntax
Properties
BufferView
The index of the bufferView.
Declaration
[JsonProperty("bufferView")]
public int? BufferView { get; set; }
Property Value
ByteOffset
The offset relative to the start of the bufferView in bytes.
Declaration
[JsonProperty("byteOffset")]
public int ByteOffset { get; set; }
Property Value
ComponentType
The datatype of components in the attribute.
Declaration
[JsonRequired]
[JsonProperty("componentType")]
public Accessor.ComponentTypeEnum ComponentType { get; set; }
Property Value
Count
The number of attributes referenced by this accessor.
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
Max
Maximum value of each component in this attribute.
Declaration
[JsonConverter(typeof(ArrayConverter))]
[JsonProperty("max")]
public float[] Max { get; set; }
Property Value
Min
Minimum value of each component in this attribute.
Declaration
[JsonConverter(typeof(ArrayConverter))]
[JsonProperty("min")]
public float[] Min { get; set; }
Property Value
Name
The user-defined name of this object.
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Normalized
Specifies whether integer data values should be normalized.
Declaration
[JsonProperty("normalized")]
public bool Normalized { get; set; }
Property Value
Sparse
Sparse storage of attributes that deviate from their initialization value.
Declaration
[JsonProperty("sparse")]
public AccessorSparse Sparse { get; set; }
Property Value
Type
Specifies if the attribute is a scalar, vector, or matrix.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonRequired]
[JsonProperty("type")]
public Accessor.TypeEnum Type { get; set; }
Property Value
Methods
ShouldSerializeBufferView()
Declaration
public bool ShouldSerializeBufferView()
Returns
ShouldSerializeByteOffset()
Declaration
public bool ShouldSerializeByteOffset()
Returns
ShouldSerializeExtensions()
Declaration
public bool ShouldSerializeExtensions()
Returns
Declaration
public bool ShouldSerializeExtras()
Returns
ShouldSerializeMax()
Declaration
public bool ShouldSerializeMax()
Returns
ShouldSerializeMin()
Declaration
public bool ShouldSerializeMin()
Returns
ShouldSerializeName()
Declaration
public bool ShouldSerializeName()
Returns
ShouldSerializeNormalized()
Declaration
public bool ShouldSerializeNormalized()
Returns
ShouldSerializeSparse()
Declaration
public bool ShouldSerializeSparse()
Returns
Extension Methods