This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
set_directional_light_color [2017/08/13 07:19] – created justin | set_directional_light_color [2018/03/16 09:48] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
Changes the color of the map's [[directional light]] over a duration of time. | Changes the color of the map's [[directional light]] over a duration of time. | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
set_directional_light_color(color, | set_directional_light_color(color, | ||
Line 18: | Line 19: | ||
====Example: | ====Example: | ||
<code lua> | <code lua> | ||
- | set_directional_light_color(color[255, 0, 255], 1) | + | set_directional_light_color(color[95, 57, 0], 1) |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Set Directional Light Color** function to | + | Use the **Set Directional Light Color** function to change the overall mood of a scene or to complement another light source' |
</ | </ | ||