Bewerken

Share via


Matrix4x4.Invert(Matrix4x4, Matrix4x4) Method

Definition

Inverts the specified matrix. The return value indicates whether the operation succeeded.

public:
 static bool Invert(System::Numerics::Matrix4x4 matrix, [Runtime::InteropServices::Out] System::Numerics::Matrix4x4 % result);
public static bool Invert (System.Numerics.Matrix4x4 matrix, out System.Numerics.Matrix4x4 result);
static member Invert : System.Numerics.Matrix4x4 * Matrix4x4 -> bool
Public Shared Function Invert (matrix As Matrix4x4, ByRef result As Matrix4x4) As Boolean

Parameters

matrix
Matrix4x4

The matrix to invert.

result
Matrix4x4

When this method returns, contains the inverted matrix if the operation succeeded.

Returns

true if matrix was converted successfully; otherwise, false.

Applies to