UnsafeNativeMethods.Matrix.Invert(Matrix,Single,Matrix) Method (Microsoft.DirectX)
Calculates the inverse of a matrix.
Note: For programming in Microsoft Visual Basic .NET or Microsoft JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
Definition
Visual Basic Public Shared Function Invert( _
ByVal pOut As Matrix, _
ByVal determinant As Single, _
ByVal source As Matrix _
) As MatrixC# public static Matrix Invert(
Matrix pOut,
float determinant,
Matrix source
);C++ public:
static Matrix Invert(
Matrix pOut,
float determinant,
Matrix source
);JScript public static function Invert(
pOut : Matrix,
determinant : float,
source : Matrix
) : Matrix;
Parameters
pOut Microsoft.DirectX.Matrix
A Matrix structure that is the result of the operation.determinant System.Single
A Single 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.
Remarks
The return value for this method is the same value returned in the pOut parameter. This allows you to use the Invert method as a parameter for another method.
See Also