Share via


MatrixStack.MultiplyMatrix(Matrix) Method (Microsoft.DirectX)

Determines the product of the current matrix and a given matrix.

Definition

Visual Basic Public Sub MultiplyMatrix( _
    ByVal value As Matrix _
)
C# public void MultiplyMatrix(
    Matrix value
);
C++ public:
void MultiplyMatrix(
    Matrix value
);
JScript public function MultiplyMatrix(
    value : Matrix
);

Parameters

value Microsoft.DirectX.Matrix
A Matrix to multiply with the current matrix.

Remarks

This method right-multiplies the given matrix by the current matrix (transformation is about the current world origin). The method does not add an item to the stack; rather, it replaces the current matrix with the product of the current matrix and the given matrix.

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also