文档

Unity Engine

Unity Engine

TryGetRightEyeRotation(out Quaternion)

Gets the Quaternion that describes the rotation of the right eye.
阅读时间1 分钟最后更新于 1 个月前

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.