Share via


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

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.