LightRig class

LightRig class

Represents LightRig.

Inheritance:LightRig → PVIObject

The LightRig type exposes the following members:

Properties

PropertyDescription
directionLight direction.
Read/write LightingDirection.
light_typeRepresents 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.
slide
presentation

Methods

MethodDescription
set_rotation(self, latitude, longitude, 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.
get_rotation(self)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 None if no rotation defined.

See Also