Compartir a través de


Matrix4f.Translate(Single, Single, Single) Method

Definition

Modifies the current matrix by post-multiplying it with a translation matrix of given dimensions

[Android.Runtime.Register("translate", "(FFF)V", "GetTranslate_FFFHandler")]
public virtual void Translate (float x, float y, float z);
[<Android.Runtime.Register("translate", "(FFF)V", "GetTranslate_FFFHandler")>]
abstract member Translate : single * single * single -> unit
override this.Translate : single * single * single -> unit

Parameters

x
Single

translation component x

y
Single

translation component y

z
Single

translation component z

Attributes

Remarks

Modifies the current matrix by post-multiplying it with a translation matrix of given dimensions

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