Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead along with this header from GitHub.
Determines the product of the current matrix and the given matrix.
HRESULT MultMatrix(
[in] const D3DXMATRIX *pMat
);
-
pMat [in]
-
Type: const D3DXMATRIX*
Pointer to the D3DXMATRIX structure to be multiplied with the current matrix.
Type: HRESULT
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
This method right-multiplies the given matrix to the current matrix (transformation is about the current world origin).
m_pstack[m_currentPos] = m_pstack[m_currentPos] * (*pMat);
This method does not add an item to the stack, it replaces the current matrix with the product of the current matrix and the given matrix.
Requirement | Value |
---|---|
Header |
|
Library |
|