SetWindowBrightness

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 22:28, 30 September 2014 by Vis apiuser (talk)

setWindowBrightness

Available since: v4.0
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)