Matrix.Invert Method (Matrix)

Calculates the inverse of a matrix.

Syntax

'Declaration
Public Shared Function Invert ( _
         matrix As Matrix _
) As Matrix 
public static Matrix Invert (
         Matrix matrix
)
public:
static Matrix Invert(
         Matrix matrix
)

Parameters

  • matrix
    Type: Matrix
    Source matrix.

Return Value

Type: Matrix
The inverse of the 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