Summary
[Pro-Only]
Returns the fade duration to use when transitioning from the
Animancer.AnimancerLayer.CurrentState to the `key`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.TransitionLibraries - Containing Type
- TransitionLibrary
Syntax
public float GetFadeDuration(AnimancerLayer layer, Object key, float fadeDuration)
Parameters
| Name | Type | Description |
|---|---|---|
| layer | AnimancerLayer | |
| key | Object | |
| fadeDuration | float |
Return Value
| Type | Description |
|---|---|
| float |