docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AccessorSparse

    Sparse property of a glTF

    Inheritance
    object
    AccessorSparse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Gltfast.Objects
    Assembly: Unity.Cloud.Gltfast.dll
    Syntax
    [MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
    public class AccessorSparse

    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
    Accessor

    Count

    Number of entries stored in the sparse array.

    Declaration
    [JsonPropertyName("count")]
    public int Count { get; set; }
    Property Value
    Type Description
    int
    See Also
    Accessor

    Extensions

    JSON object with extension-specific objects.

    Declaration
    [JsonPropertyName("extensions")]
    public AccessorSparseExtensions Extensions { get; set; }
    Property Value
    Type Description
    AccessorSparseExtensions
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-extension

    Extras

    Application-specific data.

    Declaration
    [JsonPropertyName("extras")]
    [JsonConverter(typeof(ExtrasConverter))]
    public ExtrasContainer Extras { get; set; }
    Property Value
    Type Description
    ExtrasContainer
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-extras

    Indices

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

    Declaration
    [JsonPropertyName("indices")]
    public AccessorSparseIndices Indices { get; set; }
    Property Value
    Type Description
    AccessorSparseIndices
    See Also
    Accessor

    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
    [JsonPropertyName("values")]
    public AccessorSparseValues Values { get; set; }
    Property Value
    Type Description
    AccessorSparseValues
    See Also
    Accessor

    See Also

    Accessor
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)