UnsafeNativeMethods.Matrix.Invert Method

Language:

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 Matrix
C# 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 Leave 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.

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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center