Share via


Matrix3f.Rotate Method

Definition

Overloads

Rotate(Single)

Modifies the upper 2x2 of the current matrix by post-multiplying it with a rotation matrix of given angle

Rotate(Single, Single, Single, Single)

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

Rotate(Single)

Modifies the upper 2x2 of the current matrix by post-multiplying it with a rotation matrix of given angle

[Android.Runtime.Register("rotate", "(F)V", "GetRotate_FHandler")]
public virtual void Rotate (float rot);
[<Android.Runtime.Register("rotate", "(F)V", "GetRotate_FHandler")>]
abstract member Rotate : single -> unit
override this.Rotate : single -> unit

Parameters

rot
Single

angle of rotation

Attributes

Remarks

Modifies the upper 2x2 of the current matrix by post-multiplying it with a rotation matrix of given angle

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

Rotate(Single, Single, Single, Single)

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.Matrix3f.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