Hello, Welcome to Microsoft Q&A,
Enable simulated eye tracking using mouse:
- Click on the 'Input' tab in your MRTK configuration profile.
- From there, navigate to 'Input Data Providers' -> 'Input Simulation Service'.
- Clone the 'DefaultMixedRealityInputSimulationProfile' to make changes to it.
- Select the ‘Mouse’ in the 'Default Eye Gaze Simulation Mode' setting.
IMixedRealityEyeGazeProvider is an interface in the Microsoft Mixed Reality Toolkit (MRTK) and is not directly assigned to any object.
To use CoreServices.InputSystem.EyeGazeProvider in your MonoBehaviour script, You need to import the following namespace at the top of your script:
using Microsoft.MixedReality.Toolkit;
Yes, to export the eye tracking data, you need to write some additional code. The exact code will depend on your specific requirements.
For more information about eye gaze provider, you can refer to Eye Tracking Eye Gaze Provider - MRTK 2 | Microsoft Learn.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.