Share via


Matrix.op_Subtraction Method

Subtracts matrices.

Syntax

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

Parameters

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

Return Value

Type: Matrix
Result of the subtraction.

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