LightRig
Overview
LightRig is a class in Aspose.Slides FOSS for Java.
Inherits from: PVIObject, ILightRig.
Represents a light rig for 3D scene.
This class provides 12 methods for working with LightRig objects in Java programs.
Available methods include: LightRig, PVIObject, asIPresentationComponent, getDirection, getLightType, getPresentation, getRotation, getSlide, initInternal, setDirection, setLightType, setRotation.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: direction, lightType, presentation, rotation, slide.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
lightType | LightRigPresetType | Read | Gets the light type. |
direction | LightingDirection | Read | Gets the direction. |
rotation | double[] | Read | Gets the rotation. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
LightRig(scene3d: Element, saveCallback: Runnable) | Creates a new LightRig backed by the given scene3d element. |
initInternal(scene3dElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide) | Initializes internal state for this light rig. |
getLightType() → LightRigPresetType | Returns the light type. |
setLightType(value: LightRigPresetType) | Sets the light type value. |
getDirection() → LightingDirection | Returns the direction. |
setDirection(value: LightingDirection) | Sets the direction value. |
setRotation(latitude: double, longitude: double, revolution: double) | Sets the rotation value. |
getRotation() → double[] | Returns the rotation. |
PVIObject() | Creates a PVIObject with no parent slide. |
getSlide() → IBaseSlide | Returns the slide. |
getPresentation() → IPresentation | Returns the presentation. |
asIPresentationComponent() → IPresentationComponent | Returns this object as an {@link IPresentationComponent}. |