Freigeben über


Matrix.InvertM(Single[], Int32, Single[], Int32) Method

Definition

Inverts a 4 x 4 matrix.

[Android.Runtime.Register("invertM", "([FI[FI)Z", "")]
public static bool InvertM (float[]? mInv, int mInvOffset, float[]? m, int mOffset);
[<Android.Runtime.Register("invertM", "([FI[FI)Z", "")>]
static member InvertM : single[] * int * single[] * int -> bool

Parameters

mInv
Single[]

the array that holds the output inverted matrix

mInvOffset
Int32

an offset into mInv where the inverted matrix is stored.

m
Single[]

the input array

mOffset
Int32

an offset into m where the input matrix is stored.

Returns

true if the matrix could be inverted, false if it could not.

Attributes

Remarks

Inverts a 4 x 4 matrix.

mInv and m must not overlap.

Java documentation for android.opengl.Matrix.invertM(float[], int, float[], int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to