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.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static Vector2 operator -(
	Vector2 vector
)

Parameters

vector
Type: SampSharp.GameModeVector2
The vector to invert.

Return Value

Type: Vector2
The new Vector2.
See Also