'Hololens 2 eye tracking

I am trying to recreate human prefab as it joins my Unity app through Photon. I want to track user eyes on its head model so that other users can see, where he is looking. I know that Hololens 2 has the capabilities of eye tracking and I found 2 interesting values that could help me - GazeOrigin and GazeDirection (https://docs.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/features/input/eye-tracking/eye-tracking-eye-gaze-provider?view=mrtkunity-2021-05). Is it possible to somehow map these values onto user prefab's eyes? Are there any helper transformations?

Thank you for any advice and help :)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source