Vector3.Normalize(Vector3) Method

Definition

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

public:
 static System::Numerics::Vector3 Normalize(System::Numerics::Vector3 value);
public static System.Numerics.Vector3 Normalize (System.Numerics.Vector3 value);
static member Normalize : System.Numerics.Vector3 -> System.Numerics.Vector3
Public Shared Function Normalize (value As Vector3) As Vector3

Parameters

value
Vector3

The vector to normalize.

Returns

Vector3

The normalized vector.

Applies to