mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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
    Implements
    MonoBehaviour
    Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos.Gltf
    Assembly: cs.temp.dll.dll
    Syntax
    public class TestGltfLoading : MonoBehaviour, 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

    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

    Uri

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

    Implements

    MonoBehaviour
    In This Article
    • Fields
      • DebugText
      • DebugText
    • Properties
      • AbsolutePath
      • RelativePath
      • Uri
    • Implements
    Back to top Generated by DocFX