Action Data
Map Range
Remaps a value from one range to another (linear interpolation). Useful for converting values between different scales.
Node IDMapRangeAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Input Value value | float | Yes | 0 | The value to remap. Can be set by a data connection. |
Old Range Min oldMin | float | Yes | 0 | The minimum value of the original range. |
Old Range Max oldMax | float | Yes | 100 | The maximum value of the original range. |
New Range Min newMin | float | Yes | 0 | The minimum value of the target range. |
New Range Max newMax | float | Yes | 1 | The maximum value of the target range. |
Clamp to Range clamp | boolean | No | false | If true, clamps the output value to the new range bounds. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | An incoming execution signal. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
Result output0 | object | mapped_value | Emits the remapped value as a float. |