Matrix4f.LoadRotate(Single, Single, Single, Single) Method

Definition

Sets current values to be a rotation matrix of certain angle about a given axis

[Android.Runtime.Register("loadRotate", "(FFFF)V", "GetLoadRotate_FFFFHandler")]
public virtual void LoadRotate (float rot, float x, float y, float z);
[<Android.Runtime.Register("loadRotate", "(FFFF)V", "GetLoadRotate_FFFFHandler")>]
abstract member LoadRotate : single * single * single * single -> unit
override this.LoadRotate : 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

Sets current values to be a rotation matrix of certain angle about a given axis

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