Vector2 Operators |
The Vector2 type exposes the following members.
Name | Description | |
---|---|---|
Addition |
Adds two vectors together.
| |
Division(Vector2, Vector2) |
Divides the first vector by the second.
| |
Division(Vector2, Double) |
Divides the vector by the given scalar.
| |
Equality |
Returns a boolean indicating whether the two given vectors are equal.
| |
Inequality |
Returns a boolean indicating whether the two given vectors are not equal.
| |
Multiply(Double, Vector2) |
Multiplies a vector by the given scalar.
| |
Multiply(Vector2, Vector2) |
Multiplies two vectors together.
| |
Multiply(Vector2, Double) |
Multiplies a vector by the given scalar.
| |
Subtraction |
Subtracts the second vector from the first.
| |
UnaryNegation |
Negates a given vector.
|