Windows Dev Center

XMVECTOR Operators

The following operators are exposed by the XMVECTOR structure.

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

In this section

MethodsDescription

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.

 

Related topics

Types
XMVECTOR Data Type

 

 

Community Additions

ADD
Show:
© 2015 Microsoft