CustomFade.

Apply(AnimancerPlayable, Func<float, float>) Method

Summary

Modify the current fade to use the specified `calculateWeight` delegate.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
CustomFade

Syntax

public static void Apply(AnimancerPlayable animancer, Func<float, float> calculateWeight)

Examples

See Animancer.CustomFade.

Remarks

The `calculateWeight` should follow the Animancer.OptionalWarning.CustomFadeBounds guideline.

Parameters

Name Type Description
animancer AnimancerPlayable
calculateWeight Func<float, float>

Return Value

Type Description
void