Click or drag to resize

Vector2IUnaryNegation Operator

Reverses the direction of a given vector.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static Vector2I operator -(
	Vector2I v
)

Parameters

v
Type: NeoAxisVector2I
The vector to negate.

Return Value

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