m 989onan moved page ProtoFlux:Constant Lerp Value to ProtoFlux:Value Constant Lerp: Misspelled title: Value Constant Lerp |
m YoshBot moved page ProtoFlux:Value Constant Lerp to ProtoFlux:ValueConstantLerp: Automated: removing spaces from ProtoFlux namespace |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
[ | [ | ||
{"Name":"Input", "Type":"Dummy"}, | {"Name":"Input", "Type":"Dummy"}, | ||
{"Name": "Speed", "Type": " | {"Name": "Speed", "Type": "float"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
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. | ||
{{Note|If you need the lerp to be smooth, use the [[ProtoFlux:Value Smooth Lerp|Value Smooth Lerp]] node instead.|suggestion}} | |||
== Inputs == | |||
=== Input (Pseudo-Generic) === | |||
The value we want to lerp towards. | |||
=== Speed ([[Type:float|float]]) === | |||
How fast the lerp should be. | |||
== Outputs == | |||
=== * (Pseudo-Generic) === | |||
Returns the value currently being lerped. | |||
[[Category:ProtoFlux:Math:Interpolation]] | [[Category:ProtoFlux:Math:Interpolation]] | ||
[[Category:ContinuouslyChanging nodes]] |
Latest revision as of 00:40, 21 August 2025
Constant Lerp
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.
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.