Hololight Stream for Unity extension - Gaze

Gaze

Eye gaze uses the device tracking of the user’s eye movements for input.

Gaze with MRTK2

Additional package requirements

  • Mixed Reality Toolkit 2

Supported client devices

  • Magic Leap 2

  • Microsoft HoloLens 2

Setup

To make use of gaze interaction with MRTK 2, install and configure MRTK2 with Hololight Stream in your Unity project. Make sure to follow the instructions related to gaze functionality.

For more information on using gaze with MRTK2, check out Microsoft’s article, Gaze — MRTK2.

For more information on using eye tracking with MRTK2 specifically, check out Microsoft’s article, Eye tracking in Mixed Reality Toolkit — MRTK2.

Gaze with MRTK3

Additional package requirements

  • Mixed Reality Toolkit 3

Supported client devices

  • Magic Leap 2

  • Microsoft HoloLens 2

Setup

To use gaze interaction in MRTK 3, install and configure MRTK3 with Hololight Stream in your Unity project. Make sure to follow the instructions related to gaze functionality. If a custom rig is required, create a Gaze Controller using the input actions provided in the Hololight Stream Extension for MRTK3. Make sure you add the Eye Tracking Manager, which is responsible for starting and stopping tracking, to the rig or to the scene.

For more information on using eye tracking with MRTK2 specifically, check out Microsoft’s article, Eye tracking — MRTK3.

Gaze with Unity Input System

Eye tracking is also available in Unity’s Input System. An example of this integration is available in the Hololight Stream example package.

Additional package requirements

  • None

Supported client devices

  • Magic Leap 2

  • Microsoft HoloLens 2