XMMATRIX Operators

The XMMATRIX structure exposes the following operators.

Note

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

 

In this section

Methods Description
operator *
Performs a matrix multiplication of the current instance of XMMATRIX by another instance of XMMATRIX.
operator *=
Performs a matrix multiplication of the current instance of XMMATRIX by another instance of XMMATRIX and returns a reference to the current instance, which has been updated.
operator =
Assigns the matrix data of one instance of XMMATRIX to the current instance of XMMATRIX and returns a reference to the current instance.
operator ()
Accesses specific matrix elements referenced by row and column from the current instance of XMMATRIX.

 

XMMATRIX Extensions

Reference

XMMATRIX