LightRig

Overview

LightRig is a class in Aspose.Slides FOSS for Java. Inherits from: PVIObject, ILightRig.

Represents a light rig for 3D scene.

Properties

NameTypeAccessDescription
lightTypeLightRigPresetTypeReadRepresents the LightRig preset type of this instance
directionLightingDirectionReadRepresents the lighting direction of this LightRig
rotationdouble[]ReadRepresents the latitude, longitude, and revolution rotation values as a double array

Methods

SignatureDescription
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()LightRigPresetTypeReturns the current LightRig preset type
setLightType(value: LightRigPresetType)Sets the LightRig preset type to the specified value
getDirection()LightingDirectionReturns 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

See Also