public class Camera extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
double |
fov
The field of view can be modified from the view set by the preset
camera setting by adding a fov attribute to the
camera element. (0-180) |
double |
latitude
The preset placement can be altered by specifying a child
rot element. |
double |
longitude
The preset placement can be altered by specifying a child
rot element. |
Enums.PresetCamera |
presetCamera
Preset camera
|
double |
revolution
The preset placement can be altered by specifying a child
rot element. |
int |
zoom
A zoom can be applied to the camera position by adding a zoom
attribute to the
camera element. |
| 构造器和说明 |
|---|
Camera() |
| 限定符和类型 | 方法和说明 |
|---|---|
double |
getFov() |
double |
getLatitude() |
double |
getLongitude() |
Enums.PresetCamera |
getPresetCamera() |
double |
getRevolution() |
int |
getZoom() |
Camera |
setFov(double fov) |
Camera |
setLatitude(double latitude) |
Camera |
setLongitude(double longitude) |
Camera |
setPresetCamera(Enums.PresetCamera presetCamera) |
Camera |
setRevolution(double revolution) |
Camera |
setZoom(int zoom) |
public Enums.PresetCamera presetCamera
public int zoom
camera element. It is a percentage.public double fov
camera element. (0-180)public double latitude
rot element.
The rot element defines a rotation by specifying a latitude coordinate (a lat attribute),
a longitude coordinate (a lon attribute), and a revolution (a rev attribute) about the axis.public double longitude
rot element.
The rot element defines a rotation by specifying a latitude coordinate (a lat attribute),
a longitude coordinate (a lon attribute), and a revolution (a rev attribute) about the axis.public double revolution
rot element.
The rot element defines a rotation by specifying a latitude coordinate (a lat attribute),
a longitude coordinate (a lon attribute), and a revolution (a rev attribute) about the axis.public Enums.PresetCamera getPresetCamera()
public Camera setPresetCamera(Enums.PresetCamera presetCamera)
public int getZoom()
public Camera setZoom(int zoom)
public double getFov()
public Camera setFov(double fov)
public double getLatitude()
public Camera setLatitude(double latitude)
public double getLongitude()
public Camera setLongitude(double longitude)
public double getRevolution()
public Camera setRevolution(double revolution)
Copyright © 2025. All rights reserved.