docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IGltfReadable<TRoot>

    Provides read-only access to a glTF (schema and imported Unity resources)

    Inherited Members
    IGltfReadable.MaterialCount
    IGltfReadable.ImageCount
    IGltfReadable.TextureCount
    IGltfReadable.GetMaterial(int)
    IGltfReadable.GetDefaultMaterial()
    IGltfReadable.GetImage(int)
    IGltfReadable.GetTexture(int)
    IGltfReadable.IsTextureYFlipped(int)
    IGltfReadable.GetSourceCamera(uint)
    IGltfReadable.GetSourceMaterial(int)
    IGltfReadable.GetSourceNode(int)
    IGltfReadable.GetSourceScene(int)
    IGltfReadable.GetSourceTexture(int)
    IGltfReadable.GetSourceImage(int)
    IGltfReadable.GetSourceLightPunctual(uint)
    IGltfReadable.GetBindPoses(int)
    IGltfReadable.GetAccessor(int)
    Namespace: GLTFast
    Assembly: solution.dll
    Syntax
    public interface IGltfReadable<out TRoot> : IGltfReadable where TRoot : RootBase
    Type Parameters
    Name Description
    TRoot

    glTF root (de-serialized glTF JSON) class type

    Methods

    GetSourceRoot()

    Get source root (de-serialized glTF JSON). This is intended for read-only access. Changes might corrupt data and break subsequent scene instantiation.

    Declaration
    TRoot GetSourceRoot()
    Returns
    Type Description
    TRoot

    De-serialized glTF root object

    In This Article
    Back to top
    Copyright © 2024 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)