What's New in Director 8.5 > Working with Lights and Cameras > Working with lights and cameras overview > Light properties |
![]() ![]() ![]() |
Light properties
Use these properties to work with lights:
Property Name |
Access |
Description |
Default |
---|---|---|---|
|
Get |
Unique name of this light. If the light was exported from a 3D modeling package, the name is the name assigned there. |
None |
|
Get and set |
The model, light, camera, or group that is this light's parent. If the light has no parent, it cannot contribute light. |
|
|
Get |
Number of immediate children (no grandchildren) that the light has. |
0 |
|
Get and set |
Lingo transform object representing light's position relative to its parent's transform. The |
Identity transform |
|
Get and set |
A property list associated with this light. The list defaults to the properties assigned in the 3D modeling tool, but users can add or delete properties at any time. |
Properties assigned in 3D modeling tool |
|
Get and set |
The kind of light this is. Must be one of the following:
|
None |
|
Get and set |
Lingo color object defining color and intensity. Ranges from rgb(255,255,255), which is pure white to rgb(0,0,0), which is no light at all. |
|
|
Get and set |
Angle of the light's projection cone. If type equals |
|
|
Get and set |
A three-value vector controlling the constant, linear, and quadratic attenuation factors for spotlights. |
|
|
Get and set |
Although |
|
|
Get and set |
|
|
|
Get and set |
Two orthogonal vectors |
|
|
Get |
A list containing a vector and a floating-point value, with the vector representing the position and the value the radius of a bounding sphere surrounding the light and all its children. |
|
|
Get and set |
Position of the light in world coordinates. Shortcut for the command |
Vector object |
![]() ![]() ![]() |