MAP
Linearly maps a value from the input range [from_low, from_high] to the output range [to_low, to_high]. Throws if from_low equals from_high.
| Category | Engineering |
| Syntax | MAP(value, from_low, from_high, to_low, to_high) |
Parameters
| Parameter | Required | Description |
|---|---|---|
value | Required | The value to map. |
from_low | Required | The lower bound of the input range. |
from_high | Required | The upper bound of the input range. |
to_low | Required | The lower bound of the output range. |
to_high | Required | The upper bound of the output range. |
Example
MAP(value, from_low, from_high, to_low, to_high)
Auto-generated from the EngCanvas function registry.