Legacy Documentation: Version 5.1
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 function GetLocalRotation(node: VR.VRNode): Quaternion;

Parameters

node Node index.

Returns

Quaternion Rotation of node local to its tracking space.

Description

The current rotation of the requested VRNode.