ProtoFlux:Value Constant Lerp: Difference between revisions

From Resonite Wiki
Filled in this node page.
Added a suggestion note.
 
Line 14: Line 14:


The '''Constant Lerp''' node takes in an input value and the speed of which it lerps linearly towards, then returns the value over time.
The '''Constant Lerp''' node takes in an input value and the speed of which it lerps linearly towards, then returns the value over time.
{{Note|If you need the lerp to be smooth, use the [[ProtoFlux:Value Smooth Lerp|Value Smooth Lerp]] node instead.|suggestion}}


== Inputs ==
== Inputs ==

Latest revision as of 13:32, 2 July 2024

Constant Lerp
Input
*
Speed
Interpolation

The Constant Lerp node takes in an input value and the speed of which it lerps linearly towards, then returns the value over time.

If you need the lerp to be smooth, use the Value Smooth Lerp node instead.

Inputs

Input (Pseudo-Generic)

The value we want to lerp towards.

Speed (float)

How fast the lerp should be.

Outputs

* (Pseudo-Generic)

Returns the value currently being lerped.