文档

Unity Engine

Unity Engine

TryGetRightEyeRotation(out Quaternion)

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

Definition

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

TryGetRightEyeRotation(Quaternion)

public bool TryGetRightEyeRotation(out Quaternion rotation)

Parameters

rotation

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

Returns

Type

Description

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