Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

InputTracking.GetLocalRotation

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.