Click or drag to resize

Vector2 Operators

The Vector2 type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition
Adds two vectors.
Public operatorStatic memberDivision(Double, Vector2)
Divides a scalar by a vector.
Public operatorStatic memberDivision(Vector2, Vector2)
Divides the first vector by the second vector.
Public operatorStatic memberDivision(Vector2, Double)
Divides a vector by a given scalar.
Public operatorStatic memberEquality
Determines whether two given vectors are equal.
Public operatorStatic memberInequality
Determines whether two given vectors are unequal.
Public operatorStatic memberMultiply(Double, Vector2)
Multiplies a vector by a given scalar.
Public operatorStatic memberMultiply(Vector2, Vector2)
Multiplies two vectors together.
Public operatorStatic memberMultiply(Vector2, Double)
Multiplies a vector by a given scalar.
Public operatorStatic memberSubtraction
Subtracts two vectors.
Public operatorStatic memberUnaryNegation
Reverses the direction of a given vector.
Top
See Also