ProtoFlux:ValueConstantLerp: Difference between revisions

From Resonite Wiki
m YoshBot moved page ProtoFlux:Value Constant Lerp to ProtoFlux:ValueConstantLerp: Automated: removing spaces from ProtoFlux namespace
copyedit, a bit more detail
Line 13: Line 13:
|}}
|}}


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 at which it lerps it linearly towards, then returns the lerped value over time.


{{Note|If you need the lerp to be smooth, use the [[ProtoFlux:Value Smooth Lerp|Value Smooth Lerp]] node instead.|suggestion}}
{{Note|If you need the lerp to be smooth, use the [[ProtoFlux:Value Smooth Lerp|Value Smooth Lerp]] node instead.|suggestion}}
Line 25: Line 25:
=== Speed ([[Type:float|float]]) ===
=== Speed ([[Type:float|float]]) ===


How fast the lerp should be.
How fast the lerp should be. The output value will change by this amount per second.


== Outputs ==
== Outputs ==

Revision as of 21:17, 23 September 2025

Constant Lerp
Input
*
Speed
Interpolation

The Constant Lerp node takes in an input value and the speed at which it lerps it linearly towards, then returns the lerped 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. The output value will change by this amount per second.

Outputs

* (Pseudo-Generic)

Returns the value currently being lerped.