Class TestGltfLoading
This glTF test loading script will load a glTF model from the streaming assets folder.
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 |