TestGltfLoading Class

Definition

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

C++
public ref class TestGltfLoading : UnityEngine::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

Fields

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

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0