Click or drag to resize

Vector2UnaryNegation Operator

Reverses the direction of a given vector.

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

Parameters

v
Type: NeoAxisVector2
The vector to negate.

Return Value

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