Sdílet prostřednictvím


Camera.Translate(Single, Single, Single) Method

Definition

Applies a translation transform on all three axis.

[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

The distance to translate by on the X axis

y
Single

The distance to translate by on the Y axis

z
Single

The distance to translate by on the Z axis

Attributes

Remarks

Applies a translation transform on all three axis.

Java documentation for android.graphics.Camera.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