Click or drag to resize

Vector2 Operators

The Vector2 type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition
Add operator between two vectors.
Public operatorStatic memberBitwiseOr
Components divide operator between the two vectors.
Public operatorStatic memberDivision
Divide operator between a vector and a scalar.
Public operatorStatic memberEquality
Equal operator between the two vectors.
Public operatorStatic memberExclusiveOr
Cross product operator between the two vectors.
Public operatorStatic memberGreaterThan
Greater than operator between the two vectors.
Public operatorStatic memberInequality
Difference operator between the two vectors.
Public operatorStatic memberLessThan
Less than operator between the two vectors.
Public operatorStatic memberModulus
Components multiply operator between the two vectors.
Public operatorStatic memberMultiply(Single, Vector2)
Multiply operator between a scalar and a vector.
Public operatorStatic memberMultiply(Vector2, Vector2)
Dot product operator between the two vectors.
Public operatorStatic memberMultiply(Vector2, Single)
Multiply operator between a vector and a scalar.
Public operatorStatic memberOnesComplement
Normalize operator.
Public operatorStatic memberSubtraction
Subtract operator between the two vectors.
Public operatorStatic memberUnaryNegation
Negate operator.
Public operatorStatic memberUnaryPlus
Plus operator.
Top
See Also