Animation

Set Parameters nodes

See Set Parameters.

Crossfade

Create a cross-fade from the current state to another state. For more information, refer to Animator.CrossFade in the Unity documentation.

Inputs:

Name
Type
Description

Enter

Flow

Flow to activate the node.

Animator In

Animator

Reference to an Animator object.

Fixed Time

Boolean [editable]

If true, times are in seconds. If false, times are normalized (fractional) times.

State Name

String [editable]

The name of the state to cross-fade to.

State Name Hash

Integer [editable]

The hash name of the state.

Transition Duration

Float [editable]

The duration of the transition.

Layer

Integer [editable]

Time Offset

Float [editable]

An offset into the destination state to transition to. For example, a Time Offset of 0.5, when Fixed Time is false, will cross-fade halfway into the the destination state.

Transition Time

Float [editable]

The time of the transition.

Outputs:

Name
Type
Description

Exit

Flow

Continue the activating flow.

Play

Plays a state. For more information, refer to Animator.Play in the Unity documentation.

Inputs:

Name
Type
Description

Enter

Flow

Flow to activate the node.

Animator In

Animator

Reference to an Animator object.

Fixed Time

Boolean [editable]

If true, times are in seconds. If false, times are normalized (fractional) times.

State Name

String [editable]

The name of the state to play.

State Name Hash

Integer [editable]

The hashed name of the state to play.

Layer

Integer [editable]

The layer index. If layer is -1, it plays the first state with the given state name or hash.

Time

Float [editable]

How far into the state the animation should begin to play.

Outputs:

Name
Type
Description

Exit

Flow

Continue the activating flow.

Set Layer Weight

Sets the weight of a given layer. For more information, refer to Animator.SetLayerWeight in the Unity documentation.

Inputs:

Name
Type
Description

Enter

Flow

Flow to activate the node.

Animator In

Animator

Reference to an Animator object.

Layer Index

Integer [editable]

The layer to apply a weight to.

Weight

Float [editable]

The new layer weight.

Outputs:

Name
Type
Description

Exit

Flow

Continue the activating flow.

Get Animator State Info

Retrieves information about a given Animator. For more information, refer to AnimatorStateInfo in the Unity documentation.

Inputs:

Name
Type
Description

Animator In

Animator

Reference to an Animator object.

Layer

Integer [editable]

The layer to retrieve information about.

Outputs:

Name
Type
Description

Length

Float

Current duration of the state.

Loop

Boolean

Is the state looping.

Normalized time

Float

Normalized (fractional) time of the State.

Speed

Float

The playback speed of the animation. 1 is the normal playback speed.

Speed Multiplier

Float

The speed multiplier for this state.

Full Path Hash

String

The full path hash for this state.

Set Speed

Sets the playback speed for the Animator. For more information, refer to Animator.speed in the Unity documentation.

Inputs:

Name
Type
Description

Enter

Flow

Flow to activate the node.

Animator In

Animator

Reference to an Animator object.

Speed

Float

The speed to set for the Animator. 1 is normal playback speed.

Outputs:

Name
Type
Description

Exit

Flow

Continue the activating flow.

Last updated