Getting The Data of Eye Gaze
⚠ NOTICE |
This legacy plugin is no longer being updated and maintained, please develop mobile content with OpenXR 2-in-1 Unity / Unreal package . |
Hi there, in this session, I am going to demonstrate the usage of
Eye Gaze Interaction
profile. This profile gives the data of a pose, as showing in the following
.
Notice
Eye Gaze Interaction is only supported on the XR headset and runtime with the eye tracking capability. Please make sure your target device is ready for eye tracking so that your content just can get eye gaze pose.
In the following steps, let’s learn how to use this profile.
Step1. Add the Eye Gaze Interaction profile
To use the Eye Gaze Interaction profile , add the Eye Gaze Interaction profile in Edit > Project Setting > XR Plug-In Management > OpenXR
Step2. Use the feature through an action map
Next, in any action map, you can use the Eye Gaze Interaction profile .
The following shows the data provided by Eye Gaze Interaction (OpenXR) .
-
pose
gives the pose of eye gaze .
If you are not familiar with how to use the action maps, you can check - The basic input .