The infamous Map function of vvvv for 2d-vectors and range bounds given as vectors
Namespace: VVVV.Utils.VMathAssembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871
Syntax
C# |
---|
public static Vector2D Map( Vector2D Input, Vector2D InMin, Vector2D InMax, Vector2D OutMin, Vector2D OutMax, TMapMode mode ) |
Parameters
- Input
- Type: VVVV.Utils.VMath..::..Vector2D
Input value to convert
- InMin
- Type: VVVV.Utils.VMath..::..Vector2D
Minimum of input value range
- InMax
- Type: VVVV.Utils.VMath..::..Vector2D
Maximum of input value range
- OutMin
- Type: VVVV.Utils.VMath..::..Vector2D
Minimum of destination value range
- OutMax
- Type: VVVV.Utils.VMath..::..Vector2D
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