3D Lingo Dictionary > L-N > newLight |
![]() ![]() ![]() |
newLight
Syntax
member(whichCastmember
).newLight(newLightName
,#typeIndicator
)
Description
3D command; creates a new light named, newLightName
, with the type #typeIndicator,
and adds it to the light palette. You can not have two lights in the palette with the same name.
The #typeIndicator
parameter has the following possible values:
![]() |
|
![]() |
|
![]() |
|
![]() |
|
Example
This statement creates a new light in the cast member named 3D World. It is an ambient light called "ambient room light".
member("3D World").newLight("ambient room light", #ambient)
![]() ![]() ![]() |