GetSkyColor

Category: Sky
Since engine version: 4.6.5.0 CP

Description

Returns the color of the sky. With iRGB you can specify whether you want to determine a red (iRGB 0), green (iRGB 1), or a blue (iRGB 2) fraction. iIndex specifies the palette index of paletted sky colors (0 - 19).

Syntax

int GetSkyColor (int iIndex, int iRGB);

Parameters

iIndex:
Color index in the Clonk palette.
iRGB:
Determine the return value.
See also: SetSkyColor, SetSkyFade
Cucaracha, Mai 2002