sky_color

Through the red, green, and blue components of this color vector a background color for the level background is set. The default color is (128,0,0), a dark blue sky. For frame rate reasons, set this vector at 0, 0, 0 for disabling background drawing when you're using a sky cube or other sky elements that completely cover the background.

Range:

0 .. 255 per color component (default: 128,0,0)

Type:

color vector

Example:

sky_color.red = 0;
sky_color.green = 0;
sky_color.blue = 255; // bright blue sky   

See also:

sky, screen_color ► latest version online