Microsoft DirectX 9.0 SDK Update (October 2004)

Matrix.MultiplyTranspose Method

Language:

Note: This documentation is preliminary and is subject to change.

Calculates the transposed product of two matrices.

Definition

Visual Basic .NET Public Shared Function MultiplyTranspose( _
    ByVal left As Matrix, _
    ByVal right As Matrix _
) As Matrix
C# public static Matrix MultiplyTranspose(
    Matrix left,
    Matrix right
);
Managed C++ public: static Matrix MultiplyTranspose(
    Matrix left,
    Matrix right
);
JScript .NET public static function MultiplyTranspose(
    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 and transposition of two matrices.

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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center