This is the old Animancer v7.4 documentation. Click here for the latest version.

TransitionLibrary.

GetFadeDuration(AnimancerLayer, ITransition) Method

Summary

[Pro-Only] Returns the fade duration to use when transitioning from the Animancer.AnimancerLayer.CurrentState to the `transition`.

Syntax

public float GetFadeDuration(AnimancerLayer layer, ITransition transition)

Parameters

Name Type Description
layer AnimancerLayer
transition ITransition

Return Value

Type Description
float