evaluate_fcurve

Remaps the input x to the output y based on an editable function curve. This is useful for modulating effects using a custom profile, such as for falloffs and more.

Inputs

fcurve

The function curve to evaluate. You can edit the curve in the Parameter Editor, or connect it to expose the curve editor on the parent compound. You can also set a value node to the FCurve type to drive multiple evaluate_fcurve nodes with the same curve.

x

The x axis value at which to evaluate the curve.

Output

y

The value of the curve at position x.

Editing curves

Optionally, click the options icon and choose a preset curve to use as a starting point. You can also choose a preset curve by right-clicking on the background of the curve editor when it is displayed in a resizable floating window. Then, edit the curve as desired.

Function curves default to the range [0, 1]. However, you can define points at horizontal and vertical positions outside this range.

Extrapolation

The Pre and Post extrapolation define the behavior of a curve before the first point and after the last point of that curve.