[]
        
(Showing Draft Content)

C1.Util.DX.Vector2.NormalizeRef

NormalizeRef Method

NormalizeRef(ref Vector2)

Converts the vector into a unit vector.

Declaration
public static void NormalizeRef(ref Vector2 value)
Parameters
Type Name Description
Vector2 value

The vector to normalize.

NormalizeRef(out Vector2, ref Vector2)

Converts the vector into a unit vector.

Declaration
public static void NormalizeRef(out Vector2 result, ref Vector2 value)
Parameters
Type Name Description
Vector2 result

When the method completes, contains the normalized vector.

Vector2 value

The vector to normalize.