Click or drag to resize

Vector2 Operators

The Vector2 type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition
Adds two vectors together.
Public operatorStatic memberDivision(Vector2, Vector2)
Divides the first vector by the second.
Public operatorStatic memberDivision(Vector2, Double)
Divides the vector by the given scalar.
Public operatorStatic memberEquality
Returns a boolean indicating whether the two given vectors are equal.
Public operatorStatic memberInequality
Returns a boolean indicating whether the two given vectors are not equal.
Public operatorStatic memberMultiply(Double, Vector2)
Multiplies a vector by the given scalar.
Public operatorStatic memberMultiply(Vector2, Vector2)
Multiplies two vectors together.
Public operatorStatic memberMultiply(Vector2, Double)
Multiplies a vector by the given scalar.
Public operatorStatic memberSubtraction
Subtracts the second vector from the first.
Public operatorStatic memberUnaryNegation
Negates a given vector.
Top
See Also