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.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Vector2 operator -(
	Vector2 vector
)

Parameters

vector
Type: SampSharp.Entities.SAMPVector2
The vector to invert.

Return Value

Type: Vector2
The new Vector2.
See Also