Multi Lerp (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Multi Lerp
[[File: | noframe | 128px | 'Multi Lerp' LogiX node ]]
Inputs
  Float From
  Float To
  Float Lerp
Outputs
  Float *

The Multi Lerp node is the same as Lerp_(LogiX_node) but takes an arbitrary number of inputs.

Usage

When spawned from the node browser, this node accepts float data by default. However, this node can be overloaded to accept a wide variety of numeric datatypes if an appropriate wire is connected to the input.

The Lerp range is equal to the number of input points minus one. This means that if you have 5 input points then you will reach the final value once the Lerp input is 4. This is because the node functions by interpolating between the individual inputs 2 at a time, essentially working like a regular Lerp_(LogiX_node) in the process.

Suppose you have 3 inputs now, to interpolate between the first 2 inputs, you would need to supply a Lerp value which is between 0 and 1. Similarly, to interpolate between the second and third input, you will need to supply a Lerp value which is between 1 and 2.

Examples

[[File: | noframe | 512px | Example of Multi Lerp node ]]

Node Menu

Math
Back Binary Constants DateTime Enums Matrix Physics
Quantity Random Rect Rotation Shaping TimeSpan Abs
Acos Asin Atan Atan2 Avg Ceil Ceil To Int
Clamp Clamp01 Constant Lerp Constant Slerp Cos Cosine Lerp Cubic Lerp
Exp Floor Floor To Int Greatest Common Divisor Inverse Lerp Is Between Least Common Multiple
Lerp Log Log N Log10 Max Min Multi Lerp
Multi Slerp Nth Root Ping Pong Pow Remap Remap -1..1 to 0..1 Repeat
Repeat01 Round Round To Int Sigmoid Sign Simplex Noise Sin
Slerp Smooth Lerp Sqrt Tan