docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IGltfAccessors

    Provides read-only access to typed glTF accessor data.

    Namespace: GLTFast
    Assembly: glTFast.dll
    Syntax
    public interface IGltfAccessors

    Methods

    GetAccessorData<T>(int)

    Provides an accessors typed data.

    Declaration
    NativeArray<T>.ReadOnly GetAccessorData<T>(int accessorIndex) where T : unmanaged
    Parameters
    Type Name Description
    int accessorIndex

    glTF accessor index.

    Returns
    Type Description
    NativeArray<T>.ReadOnly

    The requested data or a non-initialized readonly native array if the request couldn't be handled.

    Type Parameters
    Name Description
    T

    Accessor member type.

    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)