njSetFogColor Japanese
<-|INDEX|->
Specifies the fog color.

FORMAT

#include <Ninja.h>

void njSetFogColor(c)
Uint32 c

PARAMETERS

Uint32 c
color used for fog effect (ARGB)

RETURN VALUE

None

FUNCTION

Specifies the fog color.

EXAMPLE

The following generates green fog.
NJS_FOG_TABLE fog;

njSetFogColor(0xffffffff);
njFogDensity(0xff07);
njGenerateFogTable(fog);
njSetFogTable(fog);
njFogEnable();

            :
    Drawing of models, etc.
            :

njFogDisable();
The example above only explains the flow of the fog feature, and therefore, it is not for actual use.

NOTES


RELATED TOPICS

njSetFogColor()
njFogDensity()
njSetFogTable()
njFogEnable()
njFogDisable()
njGenerateFogTable()
njGenerateFogTable2()
njGenerateFogTable3()

njSetFogColor
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997