ControllerState.

CrossFade(int, float, int, float) Method

Summary

Starts a transition from the current state to the specified state using normalized times.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
ControllerState

Syntax

public void CrossFade(int stateNameHash, float fadeDuration = -1, int layer = -1, float normalizedTime = -Infinity)

Remarks

If `fadeDuration` is negative, it uses the Animancer.AnimancerGraph.DefaultFadeDuration.

Parameters

Name Type Description
stateNameHash int
fadeDuration float
layer int
normalizedTime float

Return Value

Type Description
void