---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/camera
---

# Camera

## Overview

`Camera` is a class in Aspose.Slides FOSS for Java.
Inherits from: `ICamera`.

Represents 3D camera settings.

This class declares 9 methods for Camera objects in Java programs.
Available methods include: `Camera`, `getCameraType`, `getFieldOfViewAngle`, `getRotation`, `getZoom`, `setCameraType`, `setFieldOfViewAngle`, `setRotation`, `setZoom`.
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/Write | Gets or sets the camera type. |
| `fieldOfViewAngle` | `double` | Read/Write | Gets or sets the field of view angle. |
| `zoom` | `double` | Read/Write | Gets or sets 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. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)