Category: Sky
Since engine version: 1.0 OC
GetSkyAdjust
Description
Returns the sky modulation as set by SetSkyAdjust. For more information see SetSkyAdjust.
Syntax
int GetSkyAdjust(bool back_color);
Parameter
- back_color:
- If not
false
, the secondary sky color is returned as specified in SetSkyAdjust.
Example
SetSkyAdjust(GetSkyAdjust() & RGB(255,255,255));
Ensures that the sky is drawn without any transparency (thoroughly covering any background color).