LightRig

Inheritance: java.lang.Object, com.aspose.slides.PVIObject

All Implemented Interfaces: com.aspose.slides.ILightRig

public class LightRig extends PVIObject implements ILightRig

Represents LightRig.

Methods

Method Description
getDirection() Light direction.
setDirection(int value) Light direction.
getLightType() Represents a preset light right that can be applied to a shape.
setLightType(int value) Represents a preset light right that can be applied to a shape.
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.
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.

getDirection()

public final int getDirection()

Light direction. Read/write LightingDirection.

Returns: int

setDirection(int value)

public final void setDirection(int value)

Light direction. Read/write LightingDirection.

Parameters:

Parameter Type Description
value int

getLightType()

public 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.

Returns: int

setLightType(int value)

public 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.

Parameters:

Parameter Type Description
value int

setRotation(float latitude, float longitude, float revolution)

public 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.

Parameters:

Parameter Type Description
latitude float
longitude float
revolution float

getRotation()

public 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.

Returns: float[]