— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
A directional light behaves similar to a light source that originates from very far away (like to the sun). Since a directional light does not have any specific point of origin, objects in the scene are not affected by their position, only by the direction of the light (which is adjusted by changing its horizontal angle and vertical angle).
The table below describes each of the settings that can be adjusted for a directional light.
Settings | Description |
---|---|
Enabled | Determines the initial state of the light. You can use the Set Directional Light Enabled function to change the state of a map's directional light via scripting. |
Color | Color of the light emitted. You can use the Set Directional Light Color function to change the color of a map's directional light via scripting. |
Horizontal Angle | |
Vertical Angle | |
Shadows Enabled | |
Shadow Darkness | |
Shadow Blur |