Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Animator.IsParameterControlledByCurve

Switch to Manual
IsParameterControlledByCurve(name: string): bool;
bool IsParameterControlledByCurve(string name);
def IsParameterControlledByCurve(name as string) as bool

Parameters

nameThe name of the parameter.

Description

Returns true if a parameter is controlled by an additional curve on an animation.

IsParameterControlledByCurve(id: int): bool;
bool IsParameterControlledByCurve(int id);
def IsParameterControlledByCurve(id as int) as bool

Parameters

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

Description

Returns true if a parameter is controlled by an additional curve on an animation.