Eye Gaze
Extension introduction
XR_EXT_eye_gaze_interaction
allows developers to create an application with eye gaze interaction.
Supported Platforms and devices
Platform | Headset | Supported | |
PC | PC Streaming | Focus 3/XR Elite/Focus Vision | V |
Pure PC | Vive Cosmos | X | |
Vive Pro series | V | ||
AIO | Focus 3/XR Elite/Focus Vision | V |
Enable Plugins
- Edit > Plugins > Built-in > Virtual Reality > OpenXREyeTracker, enable it.
- Note that the " SteamVR " and " OculusVR " plugin must be disabled for OpenXR to work.
- Restart the engine for the changes to take effect.
How to use OpenXR Eye Gaze Unreal Feature
- For the available eye gaze functions, please refer to OpenXREyeTracker.cpp.
-
Type
Get Gaze Data
to get the eye gaze data blueprint function.
-
Set the
Out Gaze Data
to a variable and break the data for more specific use.
Play the sample map
- Make sure the OpenXR Eye Tracker Plugin is enabled inside Edit > Plugins > Built-in > Virtual Reality > OpenXREyeTracker .
-
The sample map is under
Content
>
EyeGaze
>
Map
.
-
Start playing the
EyeGaze
map, and the color of the block on the dart board becomes yellow when staring at the block.