Skip to main content

AnimatorControllerParameter

Used to communicate between scripting and the controller. Some parameters can be set in scripting and used by the controller, while other parameters are based on Custom Curves in Animation Clips and can be sampled using the scripting API.

Members

Properties

NameDescription
AnimatorControllerParameter.defaultBoolThe default bool value for the parameter.
AnimatorControllerParameter.defaultFloatThe default float value for the parameter.
AnimatorControllerParameter.defaultIntThe default int value for the parameter.
AnimatorControllerParameter.nameThe name of the parameter.
AnimatorControllerParameter.nameHashReturns the hash of the parameter based on its name.
AnimatorControllerParameter.typeThe type of the parameter.

Constructor

NameDescription
AnimatorControllerParameter()Creates new AnimatorControllerParameter.