static int System.Gamma;
Gets/sets the current screen Gamma level. This is 100 by default, and you can set it anywhere from 0 (pitch black)
to 200 (double normal brightness).
System.SupportsGammaControl must return true
in order for this property to have any effect.
Because every player's monitor will be different, you should normally use this property linked to a GUI Slider
in order to allow the player to adjust it to suit their system.
Example:
if (System.SupportsGammaControl) {
System.Gamma = 150;
}
will turn the screen brightness up to 50% higher than normal
See Also: System.SupportsGammaControl
|