Package org.lwjgl.openxr
Class EXTEyeGazeInteraction
java.lang.Object
org.lwjgl.openxr.EXTEyeGazeInteraction
The XR_EXT_eye_gaze_interaction extension.
This extension provides an XrPath for getting eye gaze input from an eye tracker to enable eye gaze interactions.
The intended use for this extension is to provide:
- system properties to inform if eye gaze interaction is supported by the current device.
- an
XrPathfor real time eye tracking that exposes an accurate and precise eye gaze pose to be used to enable eye gaze interactions. - a structure
XrEyeGazeSampleTimeEXTthat allows for an application to retrieve more information regarding the eye tracking samples.
With these building blocks, an application can discover if the XR runtime has access to an eye tracker, bind the eye gaze pose to the action system, determine if the eye tracker is actively tracking the users eye gaze, and use the eye gaze pose as an input signal to build eye gaze interactions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrStructureType.static final intExtendsXrStructureType. -
Method Summary
-
Field Details
-
XR_EXT_eye_gaze_interaction_SPEC_VERSION
public static final int XR_EXT_eye_gaze_interaction_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME
The extension name.- See Also:
-
XR_TYPE_SYSTEM_EYE_GAZE_INTERACTION_PROPERTIES_EXT
public static final int XR_TYPE_SYSTEM_EYE_GAZE_INTERACTION_PROPERTIES_EXTExtendsXrStructureType.Enum values:
- See Also:
-
XR_TYPE_EYE_GAZE_SAMPLE_TIME_EXT
public static final int XR_TYPE_EYE_GAZE_SAMPLE_TIME_EXTExtendsXrStructureType.Enum values:
- See Also:
-