LightRig
Overview
LightRig is a class in Aspose.Slides FOSS for C++.
Represents light rig properties for 3D scene rendering.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LightRigPresetType | LightRigPresetType | Read | Property gets or sets the light rig preset type |
LightingDirection | LightingDirection | Read | Property gets or sets the lighting direction |
Methods
| Signature | Description |
|---|---|
LightRigPresetType() → LightRigPresetType | Property gets or sets the light rig preset type |
LightingDirection() → LightingDirection | Property gets or sets the lighting direction |
init_internal(scene3d_element: pugi::xml_node, save_callback: std::function<void()>) | Initialize XML-backed light rig. |
get_light_rig() → pugi::xml_node | Get the element if it exists within the scene3d element. |
ensure_light_rig() → pugi::xml_node | Get or create the element with defaults rig=“threePt” dir=“t”. |
save() | Save changes via the save callback. |
set_light_type(value: LightRigPresetType) | Sets the light rig preset type. |
set_direction(value: LightingDirection) | Sets the lighting direction. |