ResetGamma

Category: Global
Since engine version: 4.9.1.0 GWE

Description

Resets a gamma ramp to default value. This corresponds to SetGamma(RGB(0,0,0), RGB(128,128,128), RGB(255,255,255), iRampIndex);. For more information see SetGamma.

Syntax

void ResetGamma (int iRampIndex);

Parameter

iRampIndex:
0-7: index of the gamma ramp to reset.

Example

for (var i; i<8; i++) ResetGamma(i);
Deactivates all gamma ramps.
See also: SetGamma
Sven2, April 2002