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

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
set_directional_light_enabled [2018/03/16 09:48] justinset_directional_light_enabled [2020/05/03 11:05] justin
Line 2: Line 2:
 ---- ----
  
-Enables or disables the map's [[directional light]].+Enables or disables the [[map|map's]] [[directional light]].
  
 ====Signature:==== ====Signature:====
Line 13: 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 turning 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>
  
 ====Example:==== ====Example:====
-<code lua>+<code bauxite>
 set_directional_light_enabled(false) set_directional_light_enabled(false)
 </code> </code>
-//Results:// The map's [[directional light]] is disabled and no longer affects the scene until enabled again.+//Results:// The [[map|map's]] [[directional light]] is disabled and no longer affects the scene until enabled again.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Set Directional Light Enabled** function to change the overall mood of a scene or to complement another light source's color change.+Use the **Set Directional Light Enabled** function to change the overall mood of a scene or to complement another light source'[[color]] change.
 </WRAP> </WRAP>
  
set_directional_light_enabled.txt · Last modified: 2021/04/21 18:50 by justin