GetAmbientBrightness

Category: Landscape / View
Since engine version: 6.0 OC

Description

Queries the ambient brightness value set with SetAmbientBrightness. The initial brightness value is 100%.

Syntax

int GetAmbientBrightness();

Example

SetAmbientBrightness(Min(GetAmbientBrightness() + 10, 100));
Brightens up the ambient lighting by 10%, but does not exceed 100%.
See also: SetAmbientBrightness
Clonk-Karl, 2014-11