Range Mapper
Last updated
Last updated
Range Mapper transforms a single numerical value, from its relative position in a given reference range, to a new value within a second target range.
In the event that Input
is outside of the reference (input) range, Clamp
determines whether or not the Output
should be clamped within the target range, or if it should be transformed to its relative value outside of the range.
| Input Range | Output Range |
|
|
0.5 | 0-1 | 0-100 | ✔ or ✖ | 50 |
20 | 0-100 | 100-0 | ✔ or ✖ | 80 |
1.5 | 0-1 | 0-360 | ✔ | 360 |
1.5 | 0-1 | 0-360 | ✖ | 540 |
Attribute | Type | Description |
---|---|---|
| Drop-down | The type of data that will be plugged into the |
| Defined in the | The default lower boundary of the reference range, if there is nothing attached to the |
| Defined in the | The default upper boundary of the reference range, if there is nothing attached to the |
Attribute | Type | Description |
---|---|---|
| Drop-down | The type of data that will be plugged into the |
| Defined in the | The default lower boundary of the target range, if there is nothing attached to the |
| Defined in the | The default upper boundary of the target range, if there is nothing attached to the |
| Bool | Whether or not the |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard input Pulse, to trigger the execution of the Node. |
| Defined in the | The value to be transformed/mapped. |
| Defined in the | The lower boundary of the reference range. |
| Defined in the | The upper boundary of the reference range. |
| Defined in the | The lower boundary of the target range. |
| Defined in the | The upper boundary of the target range. |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard output Pulse, to move onto the next Node along the logic branch, once this Node has finished its execution. |
| Defined in the | The transformed value. |