Compartilhar via


Matrix.RotateM Method

Definition

Overloads

RotateM(Single[], Int32, Single[], Int32, Single, Single, Single, Single)

Rotates matrix m by angle a (in degrees) around the axis (x, y, z).

RotateM(Single[], Int32, Single, Single, Single, Single)

Rotates matrix m in place by angle a (in degrees) around the axis (x, y, z).

RotateM(Single[], Int32, Single[], Int32, Single, Single, Single, Single)

Rotates matrix m by angle a (in degrees) around the axis (x, y, z).

[Android.Runtime.Register("rotateM", "([FI[FIFFFF)V", "")]
public static void RotateM (float[]? rm, int rmOffset, float[]? m, int mOffset, float a, float x, float y, float z);
[<Android.Runtime.Register("rotateM", "([FI[FIFFFF)V", "")>]
static member RotateM : single[] * int * single[] * int * single * single * single * single -> unit

Parameters

rm
Single[]

returns the result

rmOffset
Int32

index into rm where the result matrix starts

m
Single[]

source matrix

mOffset
Int32

index into m where the source matrix starts

a
Single

angle to rotate in degrees

x
Single

X axis component

y
Single

Y axis component

z
Single

Z axis component

Attributes

Remarks

Rotates matrix m by angle a (in degrees) around the axis (x, y, z).

m and rm must not overlap.

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

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

RotateM(Single[], Int32, Single, Single, Single, Single)

Rotates matrix m in place by angle a (in degrees) around the axis (x, y, z).

[Android.Runtime.Register("rotateM", "([FIFFFF)V", "")]
public static void RotateM (float[]? m, int mOffset, float a, float x, float y, float z);
[<Android.Runtime.Register("rotateM", "([FIFFFF)V", "")>]
static member RotateM : single[] * int * single * single * single * single -> unit

Parameters

m
Single[]

source matrix

mOffset
Int32

index into m where the matrix starts

a
Single

angle to rotate in degrees

x
Single

X axis component

y
Single

Y axis component

z
Single

Z axis component

Attributes

Remarks

Rotates matrix m in place by angle a (in degrees) around the axis (x, y, z).

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

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