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

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

True if eye tracking is enabled, otherwise false.
A confidence value ranging from 0..1 indicating the reliability of the eye tracking data.

Fields

GameObject will automatically change position and rotate according to the selected eye.
GameObject will not change if detected eye state confidence is below this threshold.
GameObject will automatically change position.
GameObject will automatically rotate.
Reference frame for eye.
If it's null, then world reference frame will be used.
HeadSpace: Track eye relative to head space.
WorldSpace: Track eye in world space. TrackingSpace: Track eye relative to OVRCameraRig.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon