Vector2::Subtract Method

Subtracts the second vector from the first.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Vector2 Subtract(
	Vector2 left, 
	Vector2 right
)

Parameters

left
Type: System.Numerics::Vector2

The first vector.

right
Type: System.Numerics::Vector2

The second vector.

Return Value

Type: System.Numerics::Vector2
The difference vector.
Show: