Matrix.Add Method

Language:

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.


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