C# Класс HoloToolkit.Unity.GazeStabilizer

GazeStabilizer iterates over samples of Raycast data and helps stabilize the user's gaze for precision targeting.
Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Awake ( ) : void

Описание методов

UpdateHeadStability() публичный Метод

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.
Результат void