Click or drag to resize
Vector2UnaryNegation Operator
Creates a Vector2 with the components set to the negative values of the given vector's components.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public static Vector2 operator -(
	Vector2 vector
)

Parameters

vector
Type: SampSharp.GameModeVector2
The vector to invert.

Return Value

Type: Vector2
The new Vector2.
See Also