Sdílet prostřednictvím


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

Definition

Converts Euler angles to a rotation matrix.

[Android.Runtime.Register("setRotateEulerM", "([FIFFF)V", "")]
public static void SetRotateEulerM (float[]? rm, int rmOffset, float x, float y, float z);
[<Android.Runtime.Register("setRotateEulerM", "([FIFFF)V", "")>]
static member SetRotateEulerM : single[] * int * single * single * single -> unit

Parameters

rm
Single[]

returns the result

rmOffset
Int32

index into rm where the result matrix starts

x
Single

angle of rotation, in degrees

y
Single

is broken, do not use

z
Single

angle of rotation, in degrees

Attributes

Remarks

Converts Euler angles to a rotation matrix.

This member is deprecated. This method is incorrect around the y axis. This method is deprecated and replaced (below) by setRotateEulerM2 which behaves correctly

Java documentation for android.opengl.Matrix.setRotateEulerM(float[], int, 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