Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

Obsolete
GetQuaternion is deprecated.

Animator.GetQuaternion

Switch to Manual
public function GetQuaternion(name: string): Quaternion;

Parameters

name The name of the parameter.

Description

Gets the value of a quaternion parameter.


public function GetQuaternion(id: int): Quaternion;

Parameters

id The id of the parameter. The id is generated using Animator::StringToHash.

Description

Gets the value of a quaternion parameter.