Class EXTEyeGazeInteraction

java.lang.Object
org.lwjgl.openxr.EXTEyeGazeInteraction

public final class EXTEyeGazeInteraction extends Object
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 XrPath for real time eye tracking that exposes an accurate and precise eye gaze pose to be used to enable eye gaze interactions.
  • a structure XrEyeGazeSampleTimeEXT that 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.