Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

Obsolete
GetVector is deprecated.

Animator.GetVector

Switch to Manual
public function GetVector(name: string): Vector3;

Parameters

nameThe name of the parameter.

Description

Gets the value of a vector parameter.


public function GetVector(id: int): Vector3;

Parameters

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

Description

Gets the value of a vector parameter.