Share via


Matrix3f.LoadTranslate(Single, Single) Method

Definition

Sets current values to be a translation matrix of given dimensions

[Android.Runtime.Register("loadTranslate", "(FF)V", "GetLoadTranslate_FFHandler")]
public virtual void LoadTranslate (float x, float y);
[<Android.Runtime.Register("loadTranslate", "(FF)V", "GetLoadTranslate_FFHandler")>]
abstract member LoadTranslate : single * single -> unit
override this.LoadTranslate : single * single -> unit

Parameters

x
Single

translation component x

y
Single

translation component y

Attributes

Remarks

Sets current values to be a translation matrix of given dimensions

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