ComponentOne Bitmap for WPF
ClampRef Method (Vector3)

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > Vector3 Structure : ClampRef Method
When the method completes, contains an the restricted vector.
The vector to restrict.
The minimum value.
The maximum value.
Restricts a vector between a minimum and a maximum value.
Syntax
'Declaration
 
Public Shared Sub ClampRef( _
   ByRef result As Vector3, _
   ByRef value As Vector3, _
   ByRef min As Vector3, _
   ByRef max As Vector3 _
) 
public static void ClampRef( 
   out Vector3 result,
   ref Vector3 value,
   ref Vector3 min,
   ref Vector3 max
)

Parameters

result
When the method completes, contains an the restricted vector.
value
The vector to restrict.
min
The minimum value.
max
The maximum value.
See Also

Reference

Vector3 Structure
Vector3 Members