LightRig
Overview
LightRig is a class in Aspose.Slides FOSS for Python.
Inherits from: PVIObject, ISlideComponent, IPresentationComponent.
Represents LightRig.
This class provides 2 methods for working with LightRig objects in Python programs.
Available methods include: get_rotation, set_rotation.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_presentation_component, direction, light_type, presentation, slide.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
direction | LightingDirection | Read/Write | Light direction. |
light_type | LightRigPresetType | Read/Write | Represents a preset light right that can be applied to a shape. |
as_i_presentation_component | IPresentationComponent | Read | Allows to get base IPresentationComponent interface. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
set_rotation(latitude, longitude, revolution) | Sets the rotation value. |
get_rotation() → list[float] | Returns the rotation. |