User Tools

Site Tools


set_directional_light_enabled

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
set_directional_light_enabled [2017/08/13 07:23] – created justinset_directional_light_enabled [2018/03/16 09:48] justin
Line 4: Line 4:
 Enables or disables the map's [[directional light]]. Enables or disables the map's [[directional light]].
  
 +====Signature:====
 <code python> <code python>
 set_directional_light_enabled(enabled) set_directional_light_enabled(enabled)
Line 12: Line 13:
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-If you'd like to change the color of the directional light instead of toggling it on or off, see the related [[Set Directional Light Color]] function.+If you'd like to change the color of the directional light instead of turning it on or off, see the related [[Set Directional Light Color]] function.
 </WRAP> </WRAP>
  
Line 22: Line 23:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Set Directional Light Color** function to +Use the **Set Directional Light Enabled** function to change the overall mood of a scene or to complement another light source's color change.
 </WRAP> </WRAP>
  
set_directional_light_enabled.txt · Last modified: 2021/04/21 18:50 by justin