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

NameTypeAccessDescription
lightTypeLightRigPresetTypeReadGets the light type.
directionLightingDirectionReadGets the direction.
rotationdouble[]ReadGets the rotation.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

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 light type.
setLightType(value: LightRigPresetType)Sets the light type value.
getDirection()LightingDirectionReturns 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()IBaseSlideReturns the slide.
getPresentation()IPresentationReturns the presentation.
asIPresentationComponent()IPresentationComponentReturns this object as an {@link IPresentationComponent}.

See Also