Summary
Returns the `fadeDuration` if it is zero or positive.
Otherwise returns the
Animancer.AnimancerGraph.DefaultFadeDuration.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ControllerState
Syntax
public static float GetFadeDuration(float fadeDuration)
Parameters
| Name | Type | Description |
|---|---|---|
| fadeDuration | float |
Return Value
| Type | Description |
|---|---|
| float |