Click or drag to resize

Vector4 Operators

The Vector4 type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition
Adds the left Vector4's components to the right Vector4's components and stores it in a new Vector4.
Public operatorStatic memberDivision(Vector4, Vector4)
Divides the components Vector4 by the components of the right Vector4 and stores them in a new Vector4.
Public operatorStatic memberDivision(Vector4, Single)
Divides the components Vector4 by the given scalar and stores them in a new Vector4.
Public operatorStatic memberEquality
Tests whether all components of both Vector4 are equivalent.
Public operatorStatic memberInequality
Tests whether any component of both Vector4 are not equivalent.
Public operatorStatic memberMultiply(Vector4, Vector4)
Multiplies the components Vector4 by the components of the right Vector4 and stores them in a new Vector4.
Public operatorStatic memberMultiply(Vector4, Single)
Multiplies the components Vector4 by the given scalar and stores them in a new Vector4.
Public operatorStatic memberSubtraction
Subtracts the right Vector4's components from the left Vector4's components and stores it in a new Vector4.
Public operatorStatic memberUnaryNegation
Creates a Vector4 with the components set to the negative values of the given vector's components.
Top
See Also