Operator Addition
Addition(Vector2, Vector2)
Adds two vectors.
Declaration
public static Vector2 operator +(Vector2 left, Vector2 right)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | left | The first vector to add. |
Vector2 | right | The second vector to add. |
Returns
Type | Description |
---|---|
Vector2 | The sum of the two vectors. |