C Specification
The XrEyeTrackingModeANDROID enumeration identifies the different state of tracked eyes.
// Provided by XR_ANDROID_eye_tracking
typedef enum XrEyeTrackingModeANDROID {
XR_EYE_TRACKING_MODE_NOT_TRACKING_ANDROID = 0,
XR_EYE_TRACKING_MODE_RIGHT_ANDROID = 1,
XR_EYE_TRACKING_MODE_LEFT_ANDROID = 2,
XR_EYE_TRACKING_MODE_BOTH_ANDROID = 3,
XR_EYE_TRACKING_MODE_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrEyeTrackingModeANDROID;
Description
The enums have the following meanings:
| Enum | Description |
|---|---|
|
Indicates that eye tracking is not currently active. |
|
Indicates that only the right eye is tracking. |
|
Indicates that only the left eye is tracking. |
|
Indicates that both the left and right eyes are tracking. |
See Also
Document Notes
For more information, see the OpenXR Specification
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright 2014-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.