User Tools

Site Tools


set_ambient_light_color

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
set_ambient_light_color [2020/04/22 17:53]
justin
set_ambient_light_color [2020/04/22 17:54] (current)
justin
Line 10: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|color|New color for the [[ambient light]].|[[Color]]|Yes| +|color|New ​[[color]] for the [[ambient light]].|[[Color]]|Yes| 
-|duration|Fade duration from its current color to the new color.|[[Decimal]]|No|+|duration|Fade duration from its current ​[[color]] to the new [[color]].|[[Number]]|No|
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-If you'd like to instantly toggle the ambient light on or off instead of changing its color, see the related [[Set Ambient Light Enabled]] function.+If you'd like to instantly toggle the [[ambient light]] on or off instead of changing its [[color]], see the related [[Set Ambient Light Enabled]] function.
 </​WRAP>​ </​WRAP>​
  
Line 21: Line 21:
 set_ambient_light_color(color[255,​ 0, 255], 1) set_ambient_light_color(color[255,​ 0, 255], 1)
 </​code>​ </​code>​
-//​Results://​ The color of the map's [[ambient light]] will change to magenta over a duration of one second.+//​Results://​ The [[color]] of the [[map|map's]] [[ambient light]] will change to magenta over a duration of one second.
  
 <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 another 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_color.txt · Last modified: 2020/04/22 17:54 by justin