ResetGamma
Category:
Global
Since engine version:
5.1 OC
Description
Resets a gamma ramp to default value. This corresponds to
SetGamma
(
RGB
(0,0,0),
RGB
(128,128,128),
RGB
(255,255,255), ramp_index);. For more information see
SetGamma
.
Syntax
bool
ResetGamma(
int
ramp_index);
Parameter
ramp_index:
0-7: index of the gamma ramp to reset.
Example
for
(
var
i=0; i<8; i++) ResetGamma(i);
Deactivates all gamma ramps.
See also:
SetGamma
Sven2, 2002-04