Camera
Overview
Camera is a class in Aspose.Slides FOSS for C++.
Represents camera properties for 3D scene rendering.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
CameraPresetType | CameraPresetType | Read | Returns the current CameraPresetType of the camera |
Methods
| Signature | Description |
|---|---|
CameraPresetType() → CameraPresetType | Returns the current CameraPresetType of the camera |
init_internal(scene3d_element: pugi::xml_node, save_callback: std::function<void()>) | Initialize XML-backed camera. |
get_camera() → pugi::xml_node | Get the element if it exists within the scene3d element. |
ensure_camera() → pugi::xml_node | Get or create the element with default preset “orthographicFront”. |
save() | Save changes via the save callback. |
set_camera_type(value: CameraPresetType) | Sets the camera preset type. |