Global Command: getWindowBrightness

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 16:08, 23 March 2014 by AFRLme (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function History

Available since v3.8

Returns the integer value of global window brightness; min = 0, max = 100.

Syntax:

getWindowBrightness()


Example:

if getWindowBrightness() < 50 then
 -- do something...
end


Arguments
none


Flags
none


Return
brightness
The integer value of window brightness.


Relevant Pages: setVolume