ComponentOne Bitmap for UWP
ClampRef Method (Vector4)

C1.UWP.DX Assembly > C1.Util.DX Namespace > Vector4 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 Vector4, _
   ByRef value As Vector4, _
   ByRef min As Vector4, _
   ByRef max As Vector4 _
) 
public static void ClampRef( 
   out Vector4 result,
   ref Vector4 value,
   ref Vector4 min,
   ref Vector4 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

Vector4 Structure
Vector4 Members