Click or drag to resize

Vector2 Operators

The Vector2 type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition(Vector2, Vector2)
Adds two vectors.
Public operatorStatic memberAddition(Vector2, Double)
Adds a scalar to a vector.
Public operatorStatic memberDivision
Divides a vector with an scalar.
Public operatorStatic memberEquality
Check if the components of two vectors are equal.
Public operatorStatic memberInequality
Check if the components of two vectors are different.
Public operatorStatic memberMultiply(Double, Vector2)
Multiplies an scalar with a vector.
Public operatorStatic memberMultiply(Vector2, Double)
Multiplies a vector with an scalar.
Public operatorStatic memberSubtraction(Vector2, Vector2)
Subtracts two vectors.
Public operatorStatic memberSubtraction(Vector2, Double)
Subtracts a scalar from a vector.
Public operatorStatic memberUnaryNegation
Negates a vector.
Top
See Also