[]
        
(Showing Draft Content)

C1.Util.DX.Vector4.NegateRef

NegateRef Method

NegateRef(ref Vector4)

Reverses the direction of the vector.

Declaration
public static void NegateRef(ref Vector4 value)
Parameters
Type Name Description
Vector4 value

The vector to negate.

NegateRef(out Vector4, ref Vector4)

Reverses the direction of a given vector.

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

When the method completes, contains a vector facing in the opposite direction.

Vector4 value

The vector to negate.