API reference
API reference
Select your platform
No SDKs available
No versions available

GazeInteractor Class

This interactor is driven by eye tracking and allows selecting and moving selected objects

Fields

Transform PointerTransform[Get]
IGazeCandidateProvider CandidateProvider[Get]
The current gaze ray
float MaxRayLength[Get]
The ICandidatePosition implementation used to compare interaction candidates.

Properties

The world pose of the gaze origin
The current intersection point (world space) of this interactor and its candidate interactable
Effectively the "cursor" position of this interactor.
The current normal vector (world space) of the CandidateHitPoint

Protected Functions

override void Awake ( )
override void Start ( )
override int ComputeCandidateTiebreaker
override GazeInteractable ComputeCandidate ( )
override void InteractableSelected
( GazeInteractable interactable )
override void InteractableUnselected
( GazeInteractable interactable )
override void DoNormalUpdate ( )
override void DoHoverUpdate ( )
override void DoSelectUpdate ( )
virtual override Pose ComputePointerPose ( )

Member Functions

void InjectAllGazeInteractor
( ISelector selector,
Transform relativeOrigin,
void InjectSelector
( ISelector selector )
void InjectPointerTransform
( Transform pointerTransform )
void InjectHitTester
( IGazeCandidateProvider hitTester )
Did you find this page helpful?