InputRayUtils.TryGetEyeGazeRay(Ray) Method
Definition
Important
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
Parameters
- ray
- UnityEngine.Ray
The ray being returned
Returns
True if the ray is being returned, false otherwise.