Ray Utils. Try Get Eye Gaze Ray(Ray) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ray representing the position and direction of the user's eyes.
public: static bool TryGetEyeGazeRay([Runtime::InteropServices::Out] UnityEngine::Ray % ray);
public static bool TryGetEyeGazeRay (out UnityEngine.Ray ray);
static member TryGetEyeGazeRay : Ray -> bool
Public Shared Function TryGetEyeGazeRay (ByRef ray As Ray) As Boolean
The ray being returned
True if the ray is being returned, false otherwise.