ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX Namespace / Vector3 Structure / NegateRef Method / NegateRef(Vector3,Vector3) Method
When the method completes, contains a vector facing in the opposite direction.
The vector to negate.

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

    Parameters

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