User Tools

Site Tools


set_ambient_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_ambient_light_enabled [2017/08/12 09:59] – created justinset_ambient_light_enabled [2017/08/13 07:22] justin
Line 2: Line 2:
 ---- ----
  
-Enables or disables the map's ambient light.+Enables or disables the map'[[ambient light]].
  
 <code python> <code python>
Line 9: Line 9:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|enabled|Determines the ambient light's state (on or off).|[[Boolean]]|Yes|+|enabled|Determines the [[ambient light]]'s state (on or off).|[[Boolean]]|Yes|
  
 <WRAP center round info 100%> <WRAP center round info 100%>
Line 19: Line 19:
 set_ambient_light_enabled(false) set_ambient_light_enabled(false)
 </code> </code>
-//Results:// The map's ambient light is disabled and no longer affects the scene until enabled again.+//Results:// The map'[[ambient 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 Ambient Light Color** function to change the overall mood of a room or to complement an entity light source's color change.+Use the **Set Ambient Light Color** function to change the overall mood of a room or to complement another light source's color change.
 </WRAP> </WRAP>
  
set_ambient_light_enabled.txt · Last modified: 2021/04/21 18:49 by justin