Click or drag to resize

Vector2Subtraction Operator

Subtracts two vectors.

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 v1,
	Vector2 v2
)

Parameters

v1
Type: NeoAxisVector2
The vector to subtract from.
v2
Type: NeoAxisVector2
The vector to be subtracted from another vector.

Return Value

Type: Vector2
The difference of the two vectors.
See Also