Operator Subtraction
Subtraction(Vector2, Vector2)
Subtracts two vectors.
Declaration
public static Vector2 operator -(Vector2 left, Vector2 right)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | left | The first vector to subtract. |
Vector2 | right | The second vector to subtract. |
Returns
Type | Description |
---|---|
Vector2 | The difference of the two vectors. |