MixedRealitySceneContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Use this script on GameObjects you wish to be aligned in certain ways depending on the application space type. For example, if you want to place an object at the height of the user's head in a room scale application, check alignWithHeadHeight. In a stationary scale application, this is equivalent to placing the object at a height of 0. You can also specify specific locations to place the object based on space type.
This script runs once, on GameObject creation.
public ref class MixedRealitySceneContent : UnityEngine::MonoBehaviour
public class MixedRealitySceneContent : UnityEngine.MonoBehaviour
type MixedRealitySceneContent = class
inherit MonoBehaviour
Public Class MixedRealitySceneContent
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourMixedRealitySceneContent
Constructors
MixedRealitySceneContent() |
Methods
InitializeSceneContent() |
Initializes the scene content based on the experience settings Should only be called once. |
ReorientContent() |
Reorients the scene content based on the camera direction |