This is a stub |
Added a suggestion note. |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
[ | [ | ||
{"Name":"From", "Type":"Dummy"}, | {"Name":"From", "Type":"Dummy"}, | ||
{"Name": "To", "Type": "Dummy"}, | {"Name":"To", "Type": "Dummy"}, | ||
{"Name": "Lerp", "Type": "float"} | {"Name":"Lerp", "Type": "float"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
Line 14: | Line 14: | ||
|}} | |}} | ||
{{ | 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. | |||
{{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 == | |||
=== From (Pseudo-Generic) === | |||
The starting point of this lerp. | |||
=== To (Pseudo-Generic) === | |||
The ending point of this lerp. | |||
=== Lerp ([[Type:float|float]]) === | |||
The lerp value between the start and end points. | |||
== Outputs == | |||
=== * (Pseudo-Generic) === | |||
Returns the value currently being lerped. | |||
[[Category:ProtoFlux:Math:Interpolation]] | [[Category:ProtoFlux:Math:Interpolation]] |
Latest revision as of 13:35, 2 July 2024
Lerp (Unclamped)
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.
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.