Click or drag to resize

Vector3 Operators

The Vector3 type exposes the following members.

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