Vector2Negate Method (Vector2, Vector2)

RAGE Plugin Hook Documentation

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

Reverses the direction of a given vector.

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

public static void Negate(
	ref Vector2 value,
	out Vector2 result
)

Parameters

value
Type: RageVector2
The vector to negate.
result
Type: RageVector2
When the method completes, contains a vector facing in the opposite direction.
See Also

Reference