ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / Vector2 Structure / NormalizeRef Method / NormalizeRef(Vector2,Vector2) Method
When the method completes, contains the normalized vector.
The vector to normalize.

In This Topic
    NormalizeRef(Vector2,Vector2) Method
    In This Topic
    Converts the vector into a unit vector.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub NormalizeRef( _
       ByRef result As Vector2, _
       ByRef value As Vector2 _
    ) 
    public static void NormalizeRef( 
       out Vector2 result,
       ref Vector2 value
    )

    Parameters

    result
    When the method completes, contains the normalized vector.
    value
    The vector to normalize.
    See Also