CustomFade.

Apply(AnimancerState, AnimationCurve) Method

Summary

Modify the current fade to use the specified `curve` to calculate the weight.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
CustomFade

Syntax

public static void Apply(AnimancerState state, AnimationCurve curve)

Examples

See Animancer.CustomFade.

Remarks

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

Parameters

Name Type Description
state AnimancerState
curve AnimationCurve

Return Value

Type Description
void