Android.Opengl.Matrix.SetRotateM Method
Creates a matrix for rotation by angle a (in degrees) around the axis (x, y, z).

Syntax

[Android.Runtime.Register("setRotateM", "([FIFFFF)V", "")]
public static void SetRotateM (float[] rm, int rmOffset, float a, float x, float y, float z)

Parameters

rm
returns the result
rmOffset
index into rm where the result matrix starts
a
angle to rotate in degrees
x
X axis component
y
Y axis component
z
Z axis component

Remarks

Creates a matrix for rotation by angle a (in degrees) around the axis (x, y, z).

An optimized path will be used for rotation about a major axis (e.g. x=1.0f y=0.0f z=0.0f).

[Android Documentation]

Requirements

Namespace: Android.Opengl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1