Share via


Matrix.Add Method (Matrix, Matrix, Matrix)

Adds a matrix to another matrix.

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

Syntax

public static void Add (
         ref Matrix matrix1,
         ref Matrix matrix2,
         out Matrix result
)

Parameters

  • matrix1
    Source matrix.
  • matrix2
    Source matrix.
  • result
    [OutAttribute] Resulting matrix.

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista