Remap

Linearly maps an input value from one range to another. The ranges may be reversed.

For example, 0.5 in the input range [0, 1] would map to 0 in the output range [-180, 180].

Interface

Inputs

ParameterDetailsPossible Types
Value

The value to be mapped between ranges.

Primary Input

f32
f64
Input Min

The lower bound of the input range.

Default: 0

f32
f64
Input Max

The upper bound of the input range.

Default: 1

f32
f64
Output Min

The lower bound of the output range.

Default: 0

f32
f64
Output Max

The upper bound of the output range.

Default: 1

f32
f64
Clamped

Whether to constrain the result within the output range instead of extrapolating beyond its bounds.

Default: false

bool

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f32