I working with a Microsoft Hololens2 and the Windows Mixed Reality Toolkit (MRTK3). I'm trying to programmatically get hold of the current Gaze direction and origin, which is explained here for MRTK2:
void LogGazeDirectionOrigin()
{
Debug.Log("Gaze is looking in direction: "
+ CoreServices.InputSystem.GazeProvider.GazeDirection);
Debug.Log("Gaze origin is: "
+ CoreServices.InputSystem.GazeProvider.GazeOrigin);
}
However, how do I do this in MRTK3?
Searched on Windows forums with no luck