Click or drag to resize

Vector2Normalize Method (Vector2, 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 void Normalize(
	ref Vector2 v,
	out Vector2 result
)

Parameters

v
Type: NeoAxisVector2
The vector to normalize.
result
Type: NeoAxisVector2
When the method completes, contains the normalized vector.
See Also