Share via


EyeLevelSceneOrigin Class

Definition

Caution

Obsolete and will be removed in future releases. Use MRTK3 Microsoft.MixedReality.Toolkit.Input.UnboundedTrackingMode instead for HoloLens 2 application using Unbounded space.Or use Unity.​XR.​Core​Utils.XROrigin for other XR applications.

Add the EyeLevelSceneOrigin component to the scene, it will automatically switch the Unity's scene origin to an eye level experiences. It will try to use "Unbounded" origin mode when it's supported.

[System.Obsolete("Obsolete and will be removed in future releases. Use MRTK3 Microsoft.MixedReality.Toolkit.Input.UnboundedTrackingMode instead for HoloLens 2 application using Unbounded space.Or use Unity.​XR.​Core​Utils.XROrigin for other XR applications.", false)]
public class EyeLevelSceneOrigin : UnityEngine.MonoBehaviour
public class EyeLevelSceneOrigin : UnityEngine.MonoBehaviour
[<System.Obsolete("Obsolete and will be removed in future releases. Use MRTK3 Microsoft.MixedReality.Toolkit.Input.UnboundedTrackingMode instead for HoloLens 2 application using Unbounded space.Or use Unity.​XR.​Core​Utils.XROrigin for other XR applications.", false)>]
type EyeLevelSceneOrigin = class
    inherit MonoBehaviour
type EyeLevelSceneOrigin = class
    inherit MonoBehaviour
Public Class EyeLevelSceneOrigin
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
EyeLevelSceneOrigin
Attributes

Constructors

EyeLevelSceneOrigin()

Applies to