TryGetRotation(out Quaternion)
Gets the world rotation of the bone.
Read time 1 minuteLast updated 11 days ago
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. |