C# Class HoloToolkit.Unity.GazeStabilizer

GazeStabilizer iterates over samples of Raycast data and helps stabilize the user's gaze for precision targeting.
Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: Microsoft/HoloToolkit-Unity Class Usage Examples

Méthodes publiques

Méthode Description
UpdateHeadStability ( Vector3 position, Quaternion rotation ) : void

Updates the StableHeadPosition and StableHeadRotation based on GazeSample values. Call this method with Raycasthit parameters to get stable values.

Private Methods

Méthode Description
Awake ( ) : void

Method Details

UpdateHeadStability() public méthode

Updates the StableHeadPosition and StableHeadRotation based on GazeSample values. Call this method with Raycasthit parameters to get stable values.
public UpdateHeadStability ( Vector3 position, Quaternion rotation ) : void
position UnityEngine.Vector3 Position value from a RaycastHit point.
rotation UnityEngine.Quaternion Rotation value from a RaycastHit rotation.
Résultat void