UnsafeNativeMethods.Matrix.Multiply Method |
Language: |
Determines the product of two matrices.
Visual Basic Public Shared Function Multiply( _
ByVal pOut As Matrix, _
ByVal left As Matrix, _
ByVal right As Matrix _
) As MatrixC# public static Matrix Multiply(
Matrix pOut,
Matrix left,
Matrix right
);C++ public:
static Matrix Multiply(
Matrix pOut,
Matrix left,
Matrix right
);JScript public static function Multiply(
pOut : Matrix,
left : Matrix,
right : Matrix
) : Matrix;
pOut Microsoft.DirectX.Matrix
A Matrix structure that is the product of two matrices.left Microsoft.DirectX.Matrix
Source Matrix structure.right Microsoft.DirectX.Matrix
Source Matrix structure.
Microsoft.DirectX.Matrix
A Matrix structure that is the product of two matrices.
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
The return value for this method is the same value returned in the pOut parameter. This allows you to use the Multiply method as a parameter for another method.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center