Class AccessorSparseIndices
Sparse indices property of a glTF
Inherited Members
Namespace: Unity.Cloud.Gltfast.Objects
Assembly: Unity.Cloud.Gltfast.dll
Syntax
[MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
public class AccessorSparseIndices
Properties
AdditionalProperties
Additional properties on glTF JSON objects. Those properties may have been added by a new, unsupported version of the glTF specification. For extending glTF, please use extensions or extras instead.
Declaration
[JsonIgnore]
public ReadOnlyProperties AdditionalProperties { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyProperties |
See Also
BufferView
The index of the bufferView with sparse indices. Referenced bufferView can't have ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER target.
Declaration
[JsonPropertyName("bufferView")]
public int? BufferView { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
See Also
ByteOffset
The offset relative to the start of the bufferView in bytes. Must be aligned.
Declaration
[JsonPropertyName("byteOffset")]
public int ByteOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
ComponentType
The indices data type. Valid values correspond to WebGL enums:
5121 (UNSIGNED_BYTE)
5123 (UNSIGNED_SHORT)
5125 (UNSIGNED_INT)
Declaration
[JsonPropertyName("componentType")]
public AccessorDataType ComponentType { get; set; }
Property Value
| Type | Description |
|---|---|
| AccessorDataType |
See Also
Extensions
JSON object with extension-specific objects.
Declaration
[JsonPropertyName("extensions")]
public AccessorSparseIndicesExtensions Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| AccessorSparseIndicesExtensions |
See Also
Extras
Application-specific data.
Declaration
[JsonPropertyName("extras")]
[JsonConverter(typeof(ExtrasConverter))]
public ExtrasContainer Extras { get; set; }
Property Value
| Type | Description |
|---|---|
| ExtrasContainer |