Matrix.Subtraction Method (Microsoft.Xna.Framework)

Subtracts the values of one Matrix from another Matrix.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.271)
  • C#
  • VB
  • F#
public static Matrix Subtraction(
	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 sub sign.
matrix2
Type: Microsoft.Xna.Framework.Matrix
Source Matrix on the right of the sub sign.

Return Value

Type: Microsoft.Xna.Framework.Matrix
Result of the matrix subtraction.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web