The infamous Map function of vvvv for 3d-vectors and range bounds given as vectors

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

Syntax

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

Parameters

Input
Type: VVVV.Utils.VMath..::..Vector3D
Input value to convert
InMin
Type: VVVV.Utils.VMath..::..Vector3D
Minimum of input value range
InMax
Type: VVVV.Utils.VMath..::..Vector3D
Maximum of input value range
OutMin
Type: VVVV.Utils.VMath..::..Vector3D
Minimum of destination value range
OutMax
Type: VVVV.Utils.VMath..::..Vector3D
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 vector mapped from input range into destination range

See Also