ThreeDFormat
Overview
ThreeDFormat is a class in Aspose.Slides FOSS for C++.
Represents 3D formatting properties of a shape.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ShapeBevel | ShapeBevel | Read | Returns the ShapeBevel object that defines bevel settings for the shape |
Camera | Camera | Read | Returns the Camera object that controls the 3‑D view perspective |
LightRig | LightRig | Read | Returns the LightRig object that defines lighting for the 3‑D effect |
SimpleColorFormat | SimpleColorFormat | Read | Returns the SimpleColorFormat object that specifies a solid color fill for 3‑D |
MaterialPresetType | MaterialPresetType | Read | Returns the current material preset enum value applied to the 3‑D surface |
Methods
| Signature | Description |
|---|---|
ShapeBevel() → ShapeBevel | Returns the ShapeBevel object that defines bevel settings for the shape |
ShapeBevel() → ShapeBevel | |
Camera() → Camera | Returns the Camera object that controls the 3‑D view perspective |
LightRig() → LightRig | Returns the LightRig object that defines lighting for the 3‑D effect |
SimpleColorFormat() → SimpleColorFormat | Returns the SimpleColorFormat object that specifies a solid color fill for 3‑D |
SimpleColorFormat() → SimpleColorFormat | |
SimpleColorFormat() → SimpleColorFormat | |
SimpleColorFormat() → SimpleColorFormat | |
MaterialPresetType() → MaterialPresetType | Returns the current material preset enum value applied to the 3‑D surface |
init_internal(parent_element: pugi::xml_node, save_callback: std::function<void()>) | Initialize XML-backed 3D format. |
get_sp3d() → pugi::xml_node | Get the element if it exists. |
ensure_sp3d() → pugi::xml_node | Get or create the element at the correct OOXML position. |
get_scene3d() → pugi::xml_node | Get the element if it exists. |
ensure_scene3d() → pugi::xml_node | Get or create the element at the correct OOXML position. |
save() | Save changes via the save callback. |
has_data() → bool | Returns true if any 3D properties have been set. |
serialize_to_xml(sp_pr: pugi::xml_node) | Serialize 3D formatting to an XML spPr node (for from-scratch save). |
set_depth(value: double) | Sets the extrusion depth of the 3‑D shape |
set_material(value: MaterialPresetType) | Assigns a material preset to the 3‑D surface |