C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / Vector3 Structure / Clamp Method
The vector to restrict.
The minimum value.
The maximum value.

In This Topic
Clamp Method (Vector3)
In This Topic
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
 

Parameters

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

Return Value

The restricted vector.
See Also