Camera
Overview
Camera is a class in Aspose.Slides FOSS for Java.
Inherits from: ICamera.
Represents 3D camera settings.
This class provides 9 methods for working with Camera objects in Java programs.
Available methods include: Camera, getCameraType, getFieldOfViewAngle, getRotation, getZoom, setCameraType, setFieldOfViewAngle, setRotation, setZoom.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: cameraType, fieldOfViewAngle, rotation, zoom.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
cameraType | CameraPresetType | Read | Gets the camera type. |
fieldOfViewAngle | double | Read | Gets the field of view angle. |
zoom | double | Read | Gets the zoom. |
rotation | double[] | Read | Gets the rotation. |
Methods
| Signature | Description |
|---|---|
Camera(scene3d: Element, saveCallback: Runnable) | Creates a new Camera backed by the given scene3d element. |
getCameraType() → CameraPresetType | Returns the camera type. |
setCameraType(value: CameraPresetType) | Sets the camera type value. |
getFieldOfViewAngle() → double | Returns the field of view angle. |
setFieldOfViewAngle(value: double) | Sets the field of view angle value. |
getZoom() → double | Returns the zoom. |
setZoom(value: double) | Sets the zoom value. |
setRotation(latitude: double, longitude: double, revolution: double) | Sets the rotation value. |
getRotation() → double[] | Returns the rotation. |