Difference between revisions of "Global Command: setWindowBrightness"

From The Official Visionaire Studio: Adventure Game Engine Wiki
(Created page with "<div class="toccolours mw-collapsible mw-collapsed tbl-ds"> <span class="bold">Function History</span> <div class="mw-collapsible-content"> <div class="alt-bg">Available since...")
 
Line 11: Line 11:
 
Syntax:
 
Syntax:
 
<syntaxhighlight>
 
<syntaxhighlight>
setWindowBrightness(i)
+
setWindowBrightness(brightness)
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 23: Line 23:
  
 
<span class="bold underline">Arguments</span><br/>
 
<span class="bold underline">Arguments</span><br/>
'''i''': integer<br/>
+
'''brightness''': integer<br/>
 
The integer value of global window brightness. (min = 0, max = 100)
 
The integer value of global window brightness. (min = 0, max = 100)
  

Revision as of 16:16, 23 March 2014

Function History

Available since v3.8


Set the integer value of global window brightness. (min = 0, max = 100)


Syntax:

setWindowBrightness(brightness)


Example:

setWindowBrightness(80) -- set new brightness value to 80%


Arguments
brightness: integer
The integer value of global window brightness. (min = 0, max = 100)


Flags
none


Return
none


Relevant Pages: getWindowBrightness