Share via


Matrix.op_Addition Method

Adds a matrix to another matrix.

Syntax

'Declaration
Public Shared Function op_Addition ( _
         matrix1 As Matrix, _
         matrix2 As Matrix _
) As Matrix 
public static Matrix op_Addition (
         Matrix matrix1,
         Matrix matrix2
)
public:
static Matrix op_Addition(
         Matrix matrix1,
         Matrix matrix2
)

Parameters

  • matrix1
    Type: Matrix
    Source matrix.
  • matrix2
    Type: Matrix
    Source matrix.

Return Value

Type: Matrix
Resulting matrix.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone