Share via


Matrix.MultiplyTranspose(Matrix) Method (Microsoft.DirectX)

Calculates the transposed product of two matrices.

Definition

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

Parameters

source Microsoft.DirectX.Matrix
Source Matrix structure to multiply and transpose with the current instance.

Remarks

This method's result is the transposed product of two transformation matrices:

Out = T(left * right).

Out = T(this instance * source).

This method is useful for setting matrices as constants for vertex and pixel shaders.

See Also