Camera.SetLocation(Single, Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.