LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

ClusterInput.GetTrackerRotation

public static Quaternion GetTrackerRotation(string name);

Parameters

nameName of input to poll.

Description

Returns the rotation of a tracker as a Quaternion.