Documentation

Unity Engine


Unity Engine


TryGetRotation(out Quaternion)

Gets the world rotation of the bone.
Read time 1 minuteLast updated a month ago

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.