Vector2Normalize Method (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 Vector2 Normalize(
	Vector2 vector
)

Parameters

vector
Type: RageVector2
The vector to normalize.

Return Value

Type: Vector2
The normalized vector.
See Also

Reference