文档

Unity Engine

Unity Engine

TryGetRotation(out Quaternion)

Gets the world rotation of the bone.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

TryGetRotation(Quaternion)

public bool TryGetRotation(out Quaternion rotation)

Parameters

rotation

Quaternion to receive the rotation of the bone in Unity world space.

Returns

Type

Description

booltrue if the rotation was retrieved, false otherwise.