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

Adds two matrices.

Definition

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

Parameters

left Microsoft.DirectX.Matrix
A Matrix instance on the left side of the addition operator.
right Microsoft.DirectX.Matrix
A Matrix instance on the right side of the addition operator.

Return Value

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