Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

InputTracking.GetLocalRotation

Switch to Manual
public static Quaternion GetLocalRotation(VR.VRNode node);

Parameters

node Node index.

Returns

Quaternion Rotation of node local to its tracking space.

Description

The current rotation of the requested VRNode.