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 ThreeDFormatHeader: include/Aspose/Slides/Foss/three_d_format.h
Properties
| Property | Accessor | Description |
|---|---|---|
bevel_top() | Read | ShapeBevel settings for the top face. |
bevel_bottom() | Read | ShapeBevel settings for the bottom face. |
camera() | Read | Camera settings (preset type, rotation). |
light_rig() | Read | LightRig settings (preset type, direction). |
extrusion_color() | Read | SimpleColorFormat for the extrusion color. |
contour_color() | Read | SimpleColorFormat for the contour color. |
material() | Read | MaterialPresetType for the surface material. |
ShapeBevel
The ShapeBevel class (from shape_bevel.h) configures bevel effects:
| Property | Description |
|---|---|
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:
| Property | Description |
|---|---|
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:
| Property | Description |
|---|---|
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:
| Method | Description |
|---|---|
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. |