Vector2::Normalize Method

Returns a vector with the same direction as the specified vector, but with a length of one.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Vector2 Normalize(
	Vector2 value
)

Parameters

value
Type: System.Numerics::Vector2

The vector to normalize.

Return Value

Type: System.Numerics::Vector2
The normalized vector.
Show: