docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AccessorSparseIndices

    Sparse indices property of a glTF AccessorSparse

    Inheritance
    object
    AccessorSparseIndices
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: GLTFast.Schema
    Assembly: glTFast.dll
    Syntax
    [Serializable]
    public class AccessorSparseIndices

    Fields

    bufferView

    The index of the bufferView with sparse indices. Referenced bufferView can't have ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER target.

    Declaration
    public uint bufferView
    Field Value
    Type Description
    uint

    byteOffset

    The offset relative to the start of the bufferView in bytes. Must be aligned. 0

    Declaration
    public int byteOffset
    Field Value
    Type Description
    int

    componentType

    The indices data type. Valid values correspond to WebGL enums: 5121 (UNSIGNED_BYTE) 5123 (UNSIGNED_SHORT) 5125 (UNSIGNED_INT)

    Declaration
    public GltfComponentType componentType
    Field Value
    Type Description
    GltfComponentType
    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)