Matrix.Add Method (Matrix, Matrix, Matrix)
Adds a matrix to another matrix.
Syntax
'Declaration
Public Shared Sub Add ( _
ref matrix1 As Matrix, _
ref matrix2 As Matrix, _
out result As Matrix _
)
public static void Add (
ref Matrix matrix1,
ref Matrix matrix2,
out Matrix result
)
public:
static void Add(
ref Matrix matrix1,
ref Matrix matrix2,
out Matrix result
)
Parameters
- matrix1
Type: Matrix
Source matrix. - matrix2
Type: Matrix
Source matrix. - result
Type: Matrix
[OutAttribute] 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