Click or drag to resize

Vector2Subtract Method

Subtracts two vectors.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void Subtract(
	ref Vector2 v1,
	ref Vector2 v2,
	out Vector2 result
)

Parameters

v1  Vector2
The vector from which to subtract.
v2  Vector2
The vector which should be subtracted from another.
result  Vector2
When the method completes, contains the difference of the two vectors.
See Also