C Specification
The XrEyeStateANDROID enumeration identifies the different state of tracked eyes.
// Provided by XR_ANDROID_eye_tracking
typedef enum XrEyeStateANDROID {
XR_EYE_STATE_INVALID_ANDROID = 0,
XR_EYE_STATE_GAZING_ANDROID = 1,
XR_EYE_STATE_SHUT_ANDROID = 2,
XR_EYE_STATE_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrEyeStateANDROID;
Description
The enums have the following meanings:
| Enum | Description |
|---|---|
|
Indicates that the eye is in an error state or not present. |
|
Indicates that the eye is currently gazing. |
|
Indicates that the eye is currently shut due to a wink or a blink. |
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.