Light node properties are as follows.
| Name |
|
| Name |
- parameter is: string
-
Sets the name of the node. Do not use / or \ [forward slash and backslash]
in the node name as this produces conflicts with NodeLink resolution to external files. Otherwise,
any ASCII character is valid.
|
| Textures |
|
| Color [ Color ] |
- parameter is: Color
- Sets the light color.
|
| Intensity |
- parameter is: float/double
- Sets the intensity of the light. Range is between -100 to 100.
|
| Position |
|
| Position X,Y,Z |
- parameter is: float/double
-
Sets the position along X, Y, and Z. This does not affect
infinite lights.
|
| Direction |
|
| Direction X,Y,Z |
- parameter is: float/double
-
Sets the direction along X, Y, and Z. This affects
spotlights and infinite lights. This does not affect
ambient lights.
|
| Directional |
- parameter is: Boolean
-
True. The light is an ambient light.
-
False. The light is an infinite light or spotlight if
its aperture is less than 180.
|
| Direction |
|
| Constant Attenuation |
- parameter is: float/double
-
Sets the base attenuation for the light. Range is between
0.00001 and 10000000000.
|
| Linear Attenuation |
- parameter is: float/double
-
Sets the linear attenuation for the light. Range is between
0.00001 and 10000000000.
|
| Quadratic Attenuation |
- parameter is: float/double
-
Sets the linear attenuation for the light. Range is between
0.00001 and 10000000000.
|
| Spot Exponent |
- parameter is: float/double
-
Sets the linear attenuation for the light. Range is between
0.00001 and 10000000000.
|
| Aperture |
- parameter is: float/double
-
Sets the linear attenuation for the light. Range is between
0.00001 and 10000000000.
|
| Dynamics |
|
| On |
- parameter is: Boolean
-
Turns the light on/off.
|
| Global |
- parameter is: Boolean
-
Sets the light as global. Global lights affect everything
within their range. Non-global lights only affect their siblings and children.
|
| Dynamic |
- parameter is: Boolean
-
Sets the light as dynamic.
|