Matrix.Invert Method (Matrix, Matrix)

Calculates the inverse of a matrix.

Syntax

'Declaration
Public Shared Sub Invert ( _
         ref matrix As Matrix, _
         out result As Matrix _
)
public static void Invert (
         ref Matrix matrix,
         out Matrix result
)
public:
static void Invert(
         ref Matrix matrix,
         out Matrix result
)

Parameters

  • matrix
    Type: Matrix
    The source matrix.
  • result
    Type: Matrix
    [OutAttribute] The inverse of matrix. The same matrix can be used for both arguments.

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