Click or drag to resize

Vector2INegate Method

Reverses the direction of a given vector.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void Negate(
	ref Vector2I v,
	out Vector2I result
)

Parameters

v  Vector2I
The vector to negate.
result  Vector2I
When the method completes, contains a vector facing in the opposite direction.
See Also