Battle Talent
V11
|
Inherits MonoBehaviour.
Public Types | |
enum class | SceneDataSource { SceneApi , StaticMeshData } |
Public Member Functions | |
void | LoadMeshes () |
Loads the scene model from the headset or the provided JSON data. | |
void | Rescan () |
Rescan the scene to update the list of available meshes. More... | |
void | LoadStaticMesh (string jsonText) |
Load a static mesh from a JSON string. More... | |
OVRSceneAnchor | GetSceneMeshPrefab () |
Public Attributes | |
UnityEvent< Transform > | SceneDataLoaded |
UnityEvent | NoSceneModelAvailable |
UnityEvent | NewSceneModelAvailable |
Static Public Attributes | |
static SceneDataLoader | Instance |
void CrossLink.SceneDataLoader.LoadStaticMesh | ( | string | jsonText | ) |
Load a static mesh from a JSON string.
void CrossLink.SceneDataLoader.Rescan | ( | ) |
Rescan the scene to update the list of available meshes.