ShopToolsUtilConvertRange Method
Convert from one numeric range to another.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
public static float ConvertRange(
float value,
float fromMin,
float fromMax,
float toMin,
float toMax
)
Public Shared Function ConvertRange (
value As Single,
fromMin As Single,
fromMax As Single,
toMin As Single,
toMax As Single
) As Single
No code example is currently available or this language may not be supported.
- value Single
-
The value to convert.
- fromMin Single
-
Original range minimum limit.
- fromMax Single
-
Original range maximum limit.
- toMin Single
-
New range minimum limit.
- toMax Single
-
New range maximum limit.
Single
Specified value, converted to the new range.