C Specification
The xrGetCoarseTrackingEyesInfoANDROID function is defined as:
// Provided by XR_ANDROID_eye_tracking
XrResult xrGetCoarseTrackingEyesInfoANDROID(
XrEyeTrackerANDROID eyeTracker,
const XrEyesGetInfoANDROID* getInfo,
XrEyesANDROID* eyesOutput);
Parameters
Description
xrGetCoarseTrackingEyesInfoANDROID function gets the information for eye states and poses in a way that preserves user privacy.
The runtime must return XR_ERROR_PERMISSION_INSUFFICIENT if the
application does not have the android.permission.EYE_TRACKING_COARSE
permission.
The eye poses are expressed in XrEyesGetInfoANDROID::baseSpace
at XrEyesGetInfoANDROID::time.
At any point of time both the position and direction of the eye pose is
tracked or untracked.
This means that the runtime must set both
XR_SPACE_LOCATION_POSITION_TRACKED_BIT and
XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT or clear both
XR_SPACE_LOCATION_POSITION_TRACKED_BIT and
XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT on the supplied
XrEyesANDROID::eyes, and set XrEyesANDROID::mode to
indicate the tracking states.
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.