Share via


Matrix.Invert(Single,Matrix) Method (Microsoft.DirectX)

Calculates the inverse of a matrix.

Definition

Visual Basic Public Shared Function Invert( _
    ByRef determinant As Single, _
    ByVal source As Matrix _
) As Matrix
C# public static Matrix Invert(
    ref float determinant,
    Matrix source
);
C++ public:
static Matrix Invert(
    floatdeterminant,
    Matrix source
);
JScript public static function Invert(
    determinant : float,
    source : Matrix
) : Matrix;

Parameters

determinant System.Single
A SingleLeave Site value that contains the determinant of the matrix. If the determinant is not needed, the parameter is omitted.
source Microsoft.DirectX.Matrix
Source Matrix structure.

Return Value

Microsoft.DirectX.Matrix
A Matrix structure that is the result of the operation.