StabilizationPlaneModifier Class
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.
StabilizationPlaneModifier handles the setting of the stabilization plane in several different modes. It does this via handling the platform call to HolographicPlatformSettings::SetFocusPointForFrame Using StabilizationPlaneModifier will override DepthLSR. This is automatically enabled via the depth buffer sharing in Unity build settings StabilizationPlaneModifier is recommended for HoloLens 1, can be used for HoloLens 2, and does a no op for WMR
public ref class StabilizationPlaneModifier : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/StabilizationPlaneModifier")]
public class StabilizationPlaneModifier : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/StabilizationPlaneModifier")>]
type StabilizationPlaneModifier = class
inherit MonoBehaviour
Public Class StabilizationPlaneModifier
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourStabilizationPlaneModifier
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Override |
Override plane to use. Usually used to set plane to a slate like a menu. |
Target |
|
Track |
Produkt | Wersje |
---|---|
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 |