Main Content
Light
Description
A Light
object represents a light source within a scene. The
properties of the object control the appearance and behavior of the light
source.
Creation
Description
creates a
l
= images.ui.graphics.LightLight
object with default property values. Use l
to query and modify properties of the Light
object after you create the
object.
sets properties of the object using one or more name-value arguments. For example,
l
= images.ui.graphics.Light(Name=Value
)images.ui.graphics.Light(Intensity=0.8)
creates a
Light
object with an intensity of 0.8
.