Share via


Matrix.Multiply(Matrix,Matrix) Method (Microsoft.DirectX)

Determines the product of two matrices.

Definition

Visual Basic Public Shared Function Multiply( _
    ByVal left As Matrix, _
    ByVal right As Matrix _
) As Matrix
C# public static Matrix Multiply(
    Matrix left,
    Matrix right
);
C++ public:
static Matrix Multiply(
    Matrix left,
    Matrix right
);
JScript public static function Multiply(
    left : Matrix,
    right : Matrix
) : Matrix;

Parameters

left Microsoft.DirectX.Matrix
Source Matrix structure.
right Microsoft.DirectX.Matrix
Source Matrix structure.

Return Value

Microsoft.DirectX.Matrix
A Matrix structure that is the product of two matrices.

Remarks

This method's result represents the transformation of left (or the current instance) followed by the transformation of right (or source).

The following equations demonstrate how the multiplication takes place.

Out = left * right

Out = this instance * source

See Also