3D Lingo Dictionary > L-N > light

 

light

Syntax

member(whichCastmember).light(whichLight)
member(whichCastmember).light[index]
member(whichCastmember).light(whichLight).whichLightProperty
member(whichCastmember).light[index].whichLightProperty

Description

3D element; an object at a vector position from which light emanates.

See 3D Lingo by Feature for a complete list of light properties and commands.

Examples

This example shows the two ways of referring to a light. The first line uses a string in parentheses and the second line uses the a number in brackets. The string is the light's name and the number is the position of the light in the cast member's list of lights.

thisLight = member("3D World").light("spot01")
thisLight = member("3D World").light[2]

See also

newLight, deleteLight