XMVECTOR Operators

The following operators are exposed by the XMVECTOR structure.

Note

The operators listed here are only available under C++.

 

In this section

Methods Description
operator +=
Adds a floating point value to an XMVECTOR instance, and returns a reference to the updated instance.
operator -=
Subtracts a floating point value from the current instance of XMVECTOR, returning the result in the updated current instance.
operator *
Multiplication operators
operator *=
Multiplication assignment operators
operator /
Division operator.
operator /=
Division Assignment operator.
operator -
Subtraction and negation operators
operator +
Addition operators.

 

XMVECTOR Extensions

Types

XMVECTOR Data Type