Matrix.Subtract Method

Language:

Subtracts one matrix from another.

Definition

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

Parameters

left Microsoft.DirectX.Matrix
A Matrix instance on the left side of the subtraction operation.
right Microsoft.DirectX.Matrix
A Matrix instance on the right side of the subtraction operation.

Return Value

Microsoft.DirectX.Matrix
A Matrix instance that represents the result of the subtraction.


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