ComponentOne Bitmap for UWP
Clamp Method (Vector4)

C1.UWP.DX Assembly > C1.Util.DX Namespace > Vector4 Structure : Clamp Method
The vector to restrict.
The minimum value.
The maximum value.
Restricts a vector between a minimum and a maximum value.
Syntax
'Declaration
 
Public Shared Function Clamp( _
   ByVal value As Vector4, _
   ByVal min As Vector4, _
   ByVal max As Vector4 _
) As Vector4
public static Vector4 Clamp( 
   Vector4 value,
   Vector4 min,
   Vector4 max
)

Parameters

value
The vector to restrict.
min
The minimum value.
max
The maximum value.

Return Value

The restricted vector.
See Also

Reference

Vector4 Structure
Vector4 Members