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

NameTypeAccessDescription
cameraTypeCameraPresetTypeReadGets the camera type.
fieldOfViewAngledoubleReadGets the field of view angle.
zoomdoubleReadGets the zoom.
rotationdouble[]ReadGets the rotation.

Methods

SignatureDescription
Camera(scene3d: Element, saveCallback: Runnable)Creates a new Camera backed by the given scene3d element.
getCameraType()CameraPresetTypeReturns the camera type.
setCameraType(value: CameraPresetType)Sets the camera type value.
getFieldOfViewAngle()doubleReturns the field of view angle.
setFieldOfViewAngle(value: double)Sets the field of view angle value.
getZoom()doubleReturns 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.

See Also