SetAmbientBrightness

Kategorie: Landschaft / Sicht
Ab Engineversion: 6.0 OC

Beschreibung

Changes the brightness of the ambient light. In regions with less than 100% ambient light, light sources such as Clonks will generate dynamic light.

Syntax

void SetAmbientBrightness(int brightness);

Parameter

brightness:
New ambient brightness value. The value should be between 0 and 100, where 0 means no ambient light and 100 means full ambient light.

Beispiel

SetAmbientBrightness(0);
Disables ambient lighting completely, so that everywhere on the map only dynamic light sources make light.
Siehe auch: GetAmbientBrightness
Clonk-Karl, 2014-11