ThreeDFormat — Aspose.Slides FOSS for C++ API Reference

The ThreeDFormat class configures 3-D effects on shapes, including bevel, camera angle, lighting, extrusion color, and material.

Namespace: Aspose::Slides::Foss

#include <Aspose/Slides/Foss/three_d_format.h>
class ThreeDFormat

Header: include/Aspose/Slides/Foss/three_d_format.h


Properties

PropertyAccessorDescription
bevel_top()ReadShapeBevel settings for the top face.
bevel_bottom()ReadShapeBevel settings for the bottom face.
camera()ReadCamera settings (preset type, rotation).
light_rig()ReadLightRig settings (preset type, direction).
extrusion_color()ReadSimpleColorFormat for the extrusion color.
contour_color()ReadSimpleColorFormat for the contour color.
material()ReadMaterialPresetType for the surface material.

ShapeBevel

The ShapeBevel class (from shape_bevel.h) configures bevel effects:

PropertyDescription
bevel_type() / set_bevel_type(BevelPresetType)Bevel preset type.
width() / set_width(double)Bevel width.
height() / set_height(double)Bevel height.

Camera

The Camera class (from camera.h) controls the 3-D camera view:

PropertyDescription
camera_preset_type()Camera preset.
set_camera_type(CameraPresetType)Set the camera preset.

LightRig

The LightRig class (from light_rig.h) controls 3-D lighting:

PropertyDescription
light_type()LightRigPresetType preset.
set_light_type(LightRigPresetType)Set the light type.
direction()LightingDirection direction.
set_direction(LightingDirection)Set the lighting direction.

IThreeDFormat Interface

The IThreeDFormat interface (from i_three_d_format.h) defines:

MethodDescription
bevel_top()Top bevel settings.
bevel_bottom()Bottom bevel settings.
depth() / set_depth(double)Extrusion depth.
contour_width() / set_contour_width(double)Contour width.
material() / set_material(MaterialPresetType)Surface material.

See Also