| njSetFogColor | Japanese |
|---|---|
<-|INDEX|-> | |
| Specifies the fog color. | |
#include <Ninja.h> void njSetFogColor(c) Uint32 c
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. |
| njSetFogColor | <-|INDEX|-> |
|---|