XMMATRIX::operator* function (directxmath.h)
Performs a matrix multiplication of the current instance of XMMATRIX
by another instance of XMMATRIX
.
This operator performs a matrix multiplication of the current instance of XMMATRIX by another instance of XMMATRIX
.
Note This operator is only available when developing with C++.
C++
XMMATRIX XM_CALLCONV operator*(
[ref] FXMMATRIX M
) noexcept;
[ref] M
Instance of XMMATRIX
to be multiplied against the current instance of XMMATRIX
.
An instance of XMMATRIX
containing the result of the matrix multiplication.
The current XMMATRIX
is the left hand side of the matrix multiplication. That is the matrix operation mat2 = mat1 * M can be implemented as:
XMMATRIX mat1; XMMATRIX mat2; XMMATRIX M mat2 = mat1 * M |
const XMMATRIX& M; XMMATRIX& mat1; XMMATRIX& mat2; mat2 = XMMatrixMultiply(mat1, M); |
Requirement | Value |
---|---|
Target Platform | Windows |
Header | directxmath.h |
Reference