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 revision
Previous revision
set_directional_light_enabled [2020/05/03 11:05] justinset_directional_light_enabled [2021/04/21 18:50] (current) justin
Line 10: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|enabled|Determines the [[directional light]]'s state (on or off).|[[Boolean]]|Yes|+|enabled|Determines the [[directional_light|directional light's]] state (on or off).|[[Boolean]]|Yes|
  
 <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 bauxite> <code bauxite>
-set_directional_light_enabled(false)+set_directional_light_enabled(false);
 </code> </code>
 //Results:// The [[map|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.
Line 33: Line 33:
  
 <WRAP half column> <WRAP half column>
-====Visual Demo:==== +====Visual Demo:====
 {{:wiki:set_directional_light_enabled_demo.gif?nolink|}} {{:wiki:set_directional_light_enabled_demo.gif?nolink|}}
 </WRAP> </WRAP>
set_directional_light_enabled.1588529145.txt.gz · Last modified: 2020/05/03 11:05 by justin