ProtoFlux:Inverse Lerp: Difference between revisions

From Resonite Wiki
Created a page for the Inverse Lerp node.
 
Fixed type on input/output descriptions. Fixed node visual.
 
Line 6: Line 6:
{"Name":"From", "Type":"Dummy"},
{"Name":"From", "Type":"Dummy"},
{"Name":"To", "Type": "Dummy"},
{"Name":"To", "Type": "Dummy"},
{"Name":"Value", "Type": "float"}
{"Name":"Value", "Type": "Dummy"}
]
]
|Outputs=
|Outputs=
Line 28: Line 28:
The end point of this lerp.
The end point of this lerp.


=== Value ([[Type:float|float]]) ===
=== Value (Pseudo-Generic) ===


The lerp value that represents the point between the 2 provided values.
The lerp value that represents the point between the 2 provided values.

Latest revision as of 15:52, 2 July 2024

Inverse Lerp
From
*
To
Value
Interpolation

The Inverse Lerp node takes in a non-normalized arbitrary set of values that has a start and end point, along with a value that is the number that is in between those 2 provided values, then returns the value over time.

This is unclamped, meaning that you are not stuck with being in between your provided values.

Inputs

From (Pseudo-Generic)

The starting point of this lerp.

To (Pseudo-Generic)

The end point of this lerp.

Value (Pseudo-Generic)

The lerp value that represents the point between the 2 provided values.

Outputs

* (Pseudo-Generic)

Returns the value currently being lerped.