Summary
Modify the current fade to use the specified `calculateWeight` delegate.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- CustomFade
Syntax
public static void Apply(AnimancerNode node, Func<float, float> calculateWeight)
Examples
See
Animancer.CustomFade
.Remarks
The `calculateWeight` should follow the
Animancer.OptionalWarning.CustomFadeBounds
guideline.Parameters
Name | Type | Description |
---|---|---|
node | AnimancerNode | |
calculateWeight | Func |
Return Value
Type | Description |
---|---|
void |