Difference between revisions of "SetWindowBrightness"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
−
==setWindowBrightness==
+
#REDIRECT [[Global Command: setWindowBrightness]]
−
 
 
−
<div class="command-min-version-info">Available since: <span class="command-min-version">v3.8</span></div>
 
−
 
 
−
<div class="command-doc">Sets the brightness (gamma) for the window.</div>
 
−
 
 
−
Lua Syntax:
 
−
<pre class="command-syntax">setWindowBrightness(Brightness)</pre>
 
−
===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
 
−
<syntaxhighlight>
 
−
setWindowBrightness(100)
 
−
</syntaxhighlight>
 
−
[[Category:Player Commands]]
 

Latest revision as of 13:31, 19 May 2023