ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / Vector2 Structure / NegateRef Method / NegateRef(Vector2,Vector2) Method
When the method completes, contains a vector facing in the opposite direction.
The vector to negate.

In This Topic
    NegateRef(Vector2,Vector2) Method
    In This Topic
    Reverses the direction of a given vector.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub NegateRef( _
       ByRef result As Vector2, _
       ByRef value As Vector2 _
    ) 
    public static void NegateRef( 
       out Vector2 result,
       ref Vector2 value
    )

    Parameters

    result
    When the method completes, contains a vector facing in the opposite direction.
    value
    The vector to negate.
    See Also