public final class LightRig extends PVIObject implements ILightRig
Represents LightRig.
| Modifier and Type | Method and Description |
|---|---|
int |
getDirection()
Light direction.
|
int |
getLightType()
Represents a preset light right that can be applied to a shape.
|
float[] |
getRotation()
A rotation is defined through the use of a latitude
coordinate, a longitude coordinate, and a revolution about the axis
as the latitude and longitude coordinates.
|
long |
getVersion()
Version.
|
void |
setDirection(int value)
Light direction.
|
void |
setLightType(int value)
Represents a preset light right that can be applied to a shape.
|
void |
setRotation(float latitude,
float longitude,
float revolution)
A rotation is defined through the use of a latitude
coordinate, a longitude coordinate, and a revolution about the axis
as the latitude and longitude coordinates.
|
equals, getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, hashCodepublic long getVersion()
Version.
Read-only long.
getVersion in class PVIObjectpublic final int getDirection()
Light direction.
Read/write LightingDirection.
getDirection in interface ILightRigpublic final void setDirection(int value)
Light direction.
Read/write LightingDirection.
setDirection in interface ILightRigpublic final int getLightType()
Represents a preset light right that can be applied to a shape.
The light rig represents a group of lights oriented
in a specific way relative to a 3D scene.
Read/write LightRigPresetType.
getLightType in interface ILightRigpublic final void setLightType(int value)
Represents a preset light right that can be applied to a shape.
The light rig represents a group of lights oriented
in a specific way relative to a 3D scene.
Read/write LightRigPresetType.
setLightType in interface ILightRigpublic final void setRotation(float latitude,
float longitude,
float revolution)
A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. If any of coordinate value is Float.NaN, all rotation is undefined.
setRotation in interface ILightRiglatitude - Latitude coordinate floatlongitude - Longitude coordinate floatrevolution - Revolution coordinate floatpublic final float[] getRotation()
A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. first element in return array - latitude, second - longitude, third - revolution. Returns null if no rotation defined.
getRotation in interface ILightRigfloat[]Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.