SetWindowBrightness

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 17:12, 22 November 2013 by Vis apiuser (talk) (Created page with "==setWindowBrightness== <div class="command-min-version-info">Available since: <span class="command-min-version">v3.8</span></div> <div class="command-doc">Sets the brightne...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

setWindowBrightness

Available since: v3.8
Sets the brightness (gamma) for the window.

Lua Syntax:

setWindowBrightness(Brightness)

Arguments

Brightness

int - The brightness (gamma) value. 0 is completely dark and 100 is normal brightness.

Flags

Return Values

None.

Examples

Example 1: basic set brightness command

setWindowBrightness(100)