InputRayUtils.TryGetEyeGazeRay(Ray) Method

Definition

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.

Applies to