Range of scalar values, for more easily interpolating and remapping them.
Construct from both values.
Construct from array of values.
Alias for ValueRange element type.
Returns the distance between the range start and end.
Invert ValueRange inplace.
Returns an inverted copy of ValueRange, the range [to, from].
Linearly interpolates range by amount.
Return value normalized by this range, so that 0 represents the start of the range and 1 represents the end of it.
Remap value from this range to newRange.