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-local+709673996c0cc3c0733358a87691d1009326afa7
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