Bagikan melalui


Matrix3f.LoadRotate Method

Definition

Overloads

LoadRotate(Single)

Makes the upper 2x2 a rotation matrix of the given angle

LoadRotate(Single, Single, Single, Single)

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

LoadRotate(Single)

Makes the upper 2x2 a rotation matrix of the given angle

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

Parameters

rot
Single

rotation angle

Attributes

Remarks

Makes the upper 2x2 a rotation matrix of the given angle

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

LoadRotate(Single, Single, Single, Single)

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