add valuelerpunclamp flux node |
Added a suggestion note. |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"From", "Type":" | {"Name":"From", "Type":"Dummy"}, | ||
{"Name": "To", "Type": " | {"Name":"To", "Type": "Dummy"}, | ||
{"Name": "Lerp", "Type": "float"} | {"Name":"Lerp", "Type": "float"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":"*", "Type":" | {"Name":"*", "Type":"Dummy"} | ||
] | ] | ||
|}} | |}} | ||
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.