[]
        
(Showing Draft Content)

C1.Util.DX.Vector3.NegateRef

NegateRef Method

NegateRef(ref Vector3)

Reverses the direction of the vector.

Declaration
public static void NegateRef(ref Vector3 value)
Public Shared Sub NegateRef(ByRef value As Vector3)
Parameters
Type Name Description
Vector3 value

The vector to negate.

NegateRef(out Vector3, ref Vector3)

Reverses the direction of a given vector.

Declaration
public static void NegateRef(out Vector3 result, ref Vector3 value)
Public Shared Sub NegateRef(ByRef result As Vector3, ByRef value As Vector3)
Parameters
Type Name Description
Vector3 result

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

Vector3 value

The vector to negate.