3D Lingo Dictionary > C-D > deleteLight

 

deleteLight

Syntax

member(whichCastmember).deleteLight(whichLight)
member(whichCastmember).deleteLight(index)

Description

3D command; removes the light from the cast member and the 3D world. Children of the light are removed from the 3D world but not deleted.

Examples

These examples delete lights from the cast member named Room.

member("Room").deleteLight("ambientRoomLight")
member("Room").deleteLight(6)

See also

newLight