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 memberDivision(Vector2, Vector2) Divides the components of a Vector2 by the components of another Vector2.
Public operatorStatic memberDivision(Vector2, Double) Divides the components of a Vector2 by a scalar.
Public operatorStatic memberEquality(Vector2, Vector2) Compares whether two Vector2 instances are equal.
Public operatorStatic memberInequality(Vector2, Vector2) Compares whether two Vector2 instances are equal.
Public operatorStatic memberMultiply(Double, Vector2) Multiplies the components of vector by a scalar.
Public operatorStatic memberMultiply(Vector2, Vector2) Multiplies the components of two vectors by each other.
Public operatorStatic memberMultiply(Vector2, Double) Multiplies the components of vector by a scalar.
Public operatorStatic memberSubtraction(Vector2, Vector2) Subtracts a Vector2 from a Vector2.
Public operatorStatic memberUnaryNegation(Vector2) Inverts values in the specified Vector2.
Top
See Also