ControllerState.

CrossFade(string, 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(string stateName, float fadeDuration = -1, int layer = -1, float normalizedTime = -Infinity)

Remarks

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

Parameters

Name Type Description
stateName string
fadeDuration float
layer int
normalizedTime float

Return Value

Type Description
void