GetAmbientBrightness

Kategorie: Landschaft / Sicht
Ab Engineversion: 6.0 OC

Beschreibung

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

Syntax

int GetAmbientBrightness();

Beispiel

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