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.
Enumeration EyeId | = OVRPlugin.Eye.Left |
| = OVRPlugin.Eye.Right |
Enumeration EyeTrackingMode
bool EyeTrackingEnabled[Get]
True if eye tracking is enabled, otherwise false.
A confidence value ranging from 0..1 indicating the reliability of the eye tracking data.
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.
GameObject will automatically change position.
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.