User Tools

Site Tools


directional_light

This is an old revision of the document!


Directional Light


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.

SettingsDescription
EnabledDetermines 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.
ColorColor 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
directional_light.1502896728.txt.gz · Last modified: 2017/08/16 08:18 by justin