Matrix.Addition Method (Microsoft.Xna.Framework)

Adds two matrixes.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.398)
  • C#
  • VB
  • F#
public static Matrix Addition(
	Matrix matrix1, 
	Matrix matrix2
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

matrix1
Type: Microsoft.Xna.Framework.Matrix
Source Matrix on the left of the add sign.
matrix2
Type: Microsoft.Xna.Framework.Matrix
Source Matrix on the right of the add sign.

Return Value

Type: Microsoft.Xna.Framework.Matrix
Sum of the matrixes.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web