C# 클래스 HoloToolkit.Unity.GazeStabilizer

GazeStabilizer iterates over samples of Raycast data and helps stabilize the user's gaze for precision targeting.
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity 1 사용 예제들

공개 메소드들

메소드 설명
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