Camera.SetLocation(Single, Single, Single) Method

Definition

Sets the location of the camera.

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

Parameters

x
Single

The x location of the camera

y
Single

The y location of the camera

z
Single

The z location of the camera

Attributes

Remarks

Sets the location of the camera. The default location is set at 0, 0, -8.

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