Summary
[Pro-Only] An optional function for modifying the fade curve.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- FadeGroup
Syntax
public Func<float, float> Easing { get; set; }
Remarks
The
Animancer.FadeGroup.NormalizedTime is passed in and the return value is multiplied by the
Animancer.FadeGroup.TargetWeight to set the Animancer.AnimancerNode.Weight of the Animancer.FadeGroup.FadeIn.
Animancer.Easing has various common functions that could be used here.
This delegate can also be set by Animancer.FadeGroupExtensions.SetEasing(Animancer.FadeGroup,System.Func{System.Single,System.Single}) to avoid needing to null-check
the Animancer.FadeGroup.
Animancer Lite ignores this property in runtime builds.
Value
| Type | Description |
|---|---|
| Func |