change_rangeRemaps one or more value from one range to another.
Returns the result that has the same proportion along the interval between to_start and to_end as the input value has between from_start and from_end.
The clamp option limits values that fall outside of the ranges.
For example:
value: 0.25
from_start: 0
from_end: 1
to_start: 100
to_end: 200
result: 125
Works with float types, vector types, and integer types (though they are converted to floating point types).
valueThe input value to remap.#
from_startLower bound of the source# range.
from_endUpper bound of the source# range.
to_startLower bound of the destin#ation range.
to_endUpper bound of the destin#ation range.
clampIf true then out of bou#nd inputs value are clamped. Default is true. #
resultThe remapped value.