ComponentOne Bitmap for UWP
Clamp Method (Vector3)

C1.UWP.DX Assembly > C1.Util.DX Namespace > Vector3 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 Vector3, _
   ByVal min As Vector3, _
   ByVal max As Vector3 _
) As Vector3
public static Vector3 Clamp( 
   Vector3 value,
   Vector3 min,
   Vector3 max
)

Parameters

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

Return Value

The restricted vector.
See Also

Reference

Vector3 Structure
Vector3 Members