Vector2Normalize Method (Vector2, Vector2)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Converts the vector into a unit vector.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static void Normalize(
	ref Vector2 vector,
	out Vector2 result
)

Parameters

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

Reference