Documentation

Unity Engine

Download Unity

Unity Engine

TryGetLeftEyeRotation(out Quaternion)

Gets the Quaternion that describes the rotation of the left eye.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

TryGetLeftEyeRotation(Quaternion)

public bool TryGetLeftEyeRotation(out Quaternion rotation)

Parameters

rotation

A Quaternion struct that is filled in with the left eye rotation.

Returns

Type

Description

booltrue if eyes can be queried for the left eye rotation; otherwise false.