ILNumerics Ultimate VS

Vector4Clamp Method (Vector4, Vector4, Vector4, Vector4)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Clamp a vector to the given minimum and maximum vectors

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public static void Clamp(
	ref Vector4 vec,
	ref Vector4 min,
	ref Vector4 max,
	out Vector4 result
)

Parameters

vec
Type: ILNumerics.DrawingVector4
Input vector
min
Type: ILNumerics.DrawingVector4
Minimum vector
max
Type: ILNumerics.DrawingVector4
Maximum vector
result
Type: ILNumerics.DrawingVector4
The clamped vector
Remarks

[ILNumerics Visualization Engine]

See Also

Reference