Remap (LogiX node)
Revision as of 08:57, 26 February 2021 by DoubleStyx (talk | contribs)
Remap | ||
---|---|---|
Inputs | ||
Float | InMin | |
Float | InMax | |
Float | OutMin | |
Float | OutMax | |
Float | Value | |
Outputs | ||
Float | * |
The Remap node linearly maps one numerical interval to another interval.
Usage
Examples
An input interval of [-1, 1], an output interval of [0, 1], and an input value of -0.5 would result in the output 0.25. This is because -0.5 represents a fourth of the difference between -1 and 1 and is thus remapped to a fourth of the difference between 0 and 1.