ProtoFlux:Value Lerp Unclamped: Difference between revisions

From Resonite Wiki
small correction, the clamp is only reference to the from and to values.
Added a suggestion note.
 
Line 16: Line 16:
The '''Value Lerp Unclamped''' node takes in a starting point and an ending point along with a lerp value of which it lerps linearly towards, then returns the value over time.
The '''Value Lerp Unclamped''' node takes in a starting point and an ending point along with a lerp value of which it lerps linearly towards, then returns the value over time.


This is unclamped meaning that you are not stuck with being in between the <code>From</code> and <code>To</code> values, which can exceed past those.
This is unclamped, meaning that you are not stuck with being in between the <code>From</code> and <code>To</code> values, which can exceed past those.
 
{{Note|If you need the lerp to be in between the start and end values, use the [[ProtoFlux:Value Lerp|Value Lerp]] node instead.|suggestion}}


== Inputs ==
== Inputs ==

Latest revision as of 13:35, 2 July 2024

Lerp (Unclamped)
From
*
To
Lerp
Interpolation

The Value Lerp Unclamped node takes in a starting point and an ending point along with a lerp value of which it lerps linearly towards, then returns the value over time.

This is unclamped, meaning that you are not stuck with being in between the From and To values, which can exceed past those.

If you need the lerp to be in between the start and end values, use the Value Lerp node instead.

Inputs

From (Pseudo-Generic)

The starting point of this lerp.

To (Pseudo-Generic)

The ending point of this lerp.

Lerp (float)

The lerp value between the start and end points.

Outputs

* (Pseudo-Generic)

Returns the value currently being lerped.