Bagikan melalui


Matrix.Subtract Method (Matrix, Matrix)

Subtracts matrices.

Syntax

'Declaration
Public Shared Function Subtract ( _
         matrix1 As Matrix, _
         matrix2 As Matrix _
) As Matrix 
public static Matrix Subtract (
         Matrix matrix1,
         Matrix matrix2
)
public:
static Matrix Subtract(
         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