Click or drag to resize

Vector2Normalize Method (Vector2)

Converts a vector into a unit vector.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static Vector2 Normalize(
	Vector2 v
)

Parameters

v
Type: NeoAxisVector2
The vector to normalize.

Return Value

Type: Vector2
The normalized vector.
See Also