The infamous Map function of vvvv for values

Namespace: VVVV.Utils.VMath
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static double Map(
	double Input,
	double InMin,
	double InMax,
	double OutMin,
	double OutMax,
	TMapMode mode
)

Parameters

Input
Type: System..::..Double
Input value to convert
InMin
Type: System..::..Double
Minimum of input value range
InMax
Type: System..::..Double
Maximum of input value range
OutMin
Type: System..::..Double
Minimum of destination value range
OutMax
Type: System..::..Double
Maximum of destination value range
mode
Type: VVVV.Utils.VMath..::..TMapMode
Defines the behavior of the function if the input value exceeds the destination range TMapMode

Return Value

Input value mapped from input range into destination range

See Also