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
Quaternion to receive the rotation of the bone in Unity world space.
Returns
Type | Description |
|---|---|
| bool | true if the rotation was retrieved, false otherwise. |