InputRayUtils.GetHeadGazeRay 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 head.
public:
static UnityEngine::Ray GetHeadGazeRay();
public static UnityEngine.Ray GetHeadGazeRay ();
static member GetHeadGazeRay : unit -> UnityEngine.Ray
Public Shared Function GetHeadGazeRay () As Ray
Returns
UnityEngine.Ray
The ray the head gaze