Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetRightEyeRotation(out Quaternion)

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

Definition

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

TryGetRightEyeRotation(Quaternion)

public bool TryGetRightEyeRotation(out Quaternion rotation)

Parameters

rotation

Returns

Type

Description

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