TestGltfLoading Class

Definition

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

public ref class TestGltfLoading : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/TestGltfLoading")]
public class TestGltfLoading : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/TestGltfLoading")>]
type TestGltfLoading = class
    inherit MonoBehaviour
Public Class TestGltfLoading
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
TestGltfLoading
Attributes
UnityEngine.AddComponentMenuAttribute

Remarks

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

Constructors

TestGltfLoading()

Fields

DebugText

Properties

AbsolutePath

Combines Streaming Assets folder path with RelativePath

RelativePath

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

Applies to