API reference

GazeActiveState Class

Extends MonoBehaviour
Note that "valid data" from EyeGaze does NOT necessarily mean that eye tracking is providing this data - it may be an emulated HMD Gaze, if for example the provided IGaze comes from EyeGaze and is true.
For cases where it's required to know whether eye tracking is active, use the EyeTrackingActiveState, which does not report true when using HMD emulation.

Fields

Active : bool
Signature
bool Oculus.Interaction.GazeActiveState.Active

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.GazeActiveState.Awake()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.GazeActiveState.Start()
Returns
void

Methods

InjectAllGazeActiveState ( gaze )
Signature
void Oculus.Interaction.GazeActiveState.InjectAllGazeActiveState(IGaze gaze)
Parameters
gaze: IGaze
Returns
void
InjectGaze ( gaze )
Signature
void Oculus.Interaction.GazeActiveState.InjectGaze(IGaze gaze)
Parameters
gaze: IGaze
Returns
void