GazeStabilizer 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.
GazeStabilizer iterates over samples of Raycast data and helps stabilize the user's gaze for precision targeting.
public ref class GazeStabilizer : Microsoft::MixedReality::Toolkit::Physics::BaseRayStabilizer
[System.Serializable]
public class GazeStabilizer : Microsoft.MixedReality.Toolkit.Physics.BaseRayStabilizer
[<System.Serializable>]
type GazeStabilizer = class
inherit BaseRayStabilizer
Public Class GazeStabilizer
Inherits BaseRayStabilizer
- Inheritance
- Attributes
Stable |
The stabilized position. |
Stable |
The stabilized position. |
Stable |
The stabilized rotation. |
Stored |
Number of samples that you want to iterate on. |
Update |
Call this each frame to smooth out changes to a position and rotation, if supported. (Inherited from BaseRayStabilizer) |
Update |
Updates the StablePosition and StableRotation based on GazeSample values. Call this method with RaycastHit parameters to get stable values. |
Ürün | Sürümler |
---|---|
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 |