LightRig
Overview
LightRig is a class in Aspose.Slides FOSS for Java.
Inherits from: PVIObject, ILightRig.
Represents a light rig for 3D scene.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
lightType | LightRigPresetType | Read | Represents the LightRig preset type of this instance |
direction | LightingDirection | Read | Represents the lighting direction of this LightRig |
rotation | double[] | Read | Represents the latitude, longitude, and revolution rotation values as a double array |
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 current LightRig preset type |
setLightType(value: LightRigPresetType) | Sets the LightRig preset type to the specified value |
getDirection() → LightingDirection | Returns the current lighting direction |
setDirection(value: LightingDirection) | Sets the lighting direction to the specified value |
setRotation(latitude: double, longitude: double, revolution: double) | Sets latitude, longitude, and revolution rotation angles for the light rig |
getRotation() → double[] | Returns an array containing latitude, longitude, and revolution values |