Vector2UnaryNegation Operator

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 Vector2 operator -(
	Vector2 value
)

Parameters

value
Type: RageVector2
The vector to negate.

Return Value

Type: Vector2
A vector facing in the opposite direction.
See Also

Reference