We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class TestGltfLoading

    This glTF test loading script will load a glTF model from the streaming assets folder.

    Inheritance
    Object
    TestGltfLoading
    Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos.Gltf
    Assembly: cs.temp.dll.dll
    Syntax
    public class TestGltfLoading : MonoBehaviour
    Remarks

    This scene needs to be opened before building to the device so the appropriate assets are copied.

    Fields

    DebugText

    Declaration
    public GameObject DebugText
    Field Value
    Type Description
    GameObject

    Properties

    AbsolutePath

    Combines Streaming Assets folder path with RelativePath

    Declaration
    public string AbsolutePath { get; }
    Property Value
    Type Description
    String

    RelativePath

    The relative asset path to the glTF asset in the Streaming Assets folder.

    Declaration
    public string RelativePath { get; }
    Property Value
    Type Description
    String
    In This Article
    Back to top Generated by DocFX