Matrix.Negate Method (Microsoft.Xna.Framework)

Returns a matrix with the all values negated.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public static Matrix Negate(
	Matrix matrix
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

matrix
Type: Microsoft.Xna.Framework.Matrix
Source Matrix.

Return Value

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

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web