Camera

Overview

Camera is a class in Aspose.Slides FOSS for C++.

Represents camera properties for 3D scene rendering.

Properties

NameTypeAccessDescription
CameraPresetTypeCameraPresetTypeReadReturns the current CameraPresetType of the camera

Methods

SignatureDescription
CameraPresetType()CameraPresetTypeReturns 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_nodeGet the element if it exists within the scene3d element.
ensure_camera()pugi::xml_nodeGet 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.

See Also