LightRig
Vue de l’ensemble
‘LightRig’ est une classe dans Aspose.Slides FOSS pour C++.
Représente les propriétés du dispositif d’éclairage pour le rendu de scènes 3D.
Cette classe fournit 18 méthodes pour travailler avec des objets LightRig dans les programmes C++. Les méthodologies disponibles comprennent: ‘LightRik’, ‘Slides’Type, ‘Diretage’, direts', ‘ensure_light_rig’, 'get_lights' , 'gett_rotation', ’has_parent, init_internal , latitude et 6 méthode supplémentaires. Tous les membres publics sont accessibles à toute application C ++ après l’installation de l’Aspose.Slipes FOSS pour le package C+. Propriétés : ‘Ricles’Sleves’type` ; ‘Direction du Lighting’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
LightRigPresetType | LightRigPresetType | Read | Gets the light rig preset type. |
LightingDirection | LightingDirection | Read | Gets the lighting direction. |
méthodes
| Signature | Description |
|---|---|
LightRigPresetType() → LightRigPresetType | Property gets or sets the light rig preset type |
LightingDirection() → LightingDirection | Property gets or sets the lighting direction |
LightRig() | |
~LightRig() | |
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. |
has_parent() → bool | Returns true if this light rig has been initialized with a parent XML element. |
light_type() → LightRigPresetType | Returns the light rig preset type. |
set_light_type(value: LightRigPresetType) | Sets the light rig preset type. |
direction() → LightingDirection | Returns the lighting direction. |
set_direction(value: LightingDirection) | Sets the lighting direction. |
set_rotation(lat: float, lon: float, rev: float) | Sets the rotation angles (latitude, longitude, revolution) in degrees. |
get_rotation() → std::array<float, 3> | Returns the rotation as {latitude, longitude, revolution} in degrees. |
latitude() → float | Returns the latitude component of the rotation. |
longitude() → float | Returns the longitude component of the rotation. |
revolution() → float | Returns the revolution component of the rotation. |
Voir aussi
- Aspose.Slides - référence API d’entreprise