Matrix4f.Rotate(Single, Single, Single, Single) Method

Definition

Modifies the current matrix by post-multiplying it with a rotation matrix of certain angle about a given axis

[Android.Runtime.Register("rotate", "(FFFF)V", "GetRotate_FFFFHandler")]
public virtual void Rotate (float rot, float x, float y, float z);
[<Android.Runtime.Register("rotate", "(FFFF)V", "GetRotate_FFFFHandler")>]
abstract member Rotate : single * single * single * single -> unit
override this.Rotate : single * single * single * single -> unit

Parameters

rot
Single

angle of rotation

x
Single

rotation axis x

y
Single

rotation axis y

z
Single

rotation axis z

Attributes

Remarks

Modifies the current matrix by post-multiplying it with a rotation matrix of certain angle about a given axis

Java documentation for android.renderscript.Matrix4f.rotate(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