[]
        
(Showing Draft Content)

C1.Util.DX.Vector4.ClampRef

ClampRef Method

ClampRef(out Vector4, ref Vector4, ref Vector4, ref Vector4)

Restricts a vector between a minimum and a maximum value.

Declaration
public static void ClampRef(out Vector4 result, ref Vector4 value, ref Vector4 min, ref Vector4 max)
Parameters
Type Name Description
Vector4 result

When the method completes, contains an the restricted vector.

Vector4 value

The vector to restrict.

Vector4 min

The minimum value.

Vector4 max

The maximum value.