API reference

OVREyeGaze Class

Extends MonoBehaviour
This class updates the transform of the GameObject to point toward an eye direction.
See OVRPlugin.EyeGazeState structure for list of eye state parameters.

Member Enumerations

Enumeration EyeId

List of eyes.
Left
= OVRPlugin.Eye.Left
Right
= OVRPlugin.Eye.Right

Enumeration EyeTrackingMode

HeadSpace
No description available
WorldSpace
No description available
TrackingSpace
No description available

Properties

bool EyeTrackingEnabled[Get]
True if eye tracking is enabled, otherwise false.
float Confidence[Get]
A confidence value ranging from 0..1 indicating the reliability of the eye tracking data.

Fields

EyeId Eye[Get]
GameObject will automatically change position and rotate according to the selected eye.
float ConfidenceThreshold[Get]
GameObject will not change if detected eye state confidence is below this threshold.
bool ApplyPosition[Get]
GameObject will automatically change position.
bool ApplyRotation[Get]
GameObject will automatically rotate.
Transform ReferenceFrame[Get]
Reference frame for eye.
If it's null, then world reference frame will be used.
EyeTrackingMode TrackingMode[Get]
HeadSpace: Track eye relative to head space.
WorldSpace: Track eye in world space. TrackingSpace: Track eye relative to OVRCameraRig.