Modifica

Condividi tramite


StabilizationPlaneModifier Class

Definition

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.MonoBehaviour
StabilizationPlaneModifier
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

StabilizationPlaneModifier()

Properties

OverridePlane

Override plane to use. Usually used to set plane to a slate like a menu.

TargetOverride
TrackVelocity

Applies to