Microsoft DirectX 9.0 SDK Update (October 2004)

UnsafeNativeMethods.Matrix.Invert Method

Language:

Note: This documentation is preliminary and is subject to change.

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 .NET 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
);
Managed C++ public: static Matrix Invert(
    Matrix pOut,
    float determinant,
    Matrix source
);
JScript .NET 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. Resultantly, the Invert method can be used as a parameter for another method.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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