Ninja Library - Special Effects Function

njSetFadeColor

Specifies the fade color

FORMAT

void njSetFadeColor(c)
Uint32 c

PARAMETER

 c  Color used for fade effect (ARGB)    

RETURN

None

DESCRIPTION

Specifies the fade color

EXAMPLE

The following fades out to green.
Float fade_val;
njSetFadeColor(0xff00ff00);
njExecuteFade(fade_val);
njFadeEnable();
/* Drawing models etc. */
njFadeDisable();

NOTE

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

REFERENCE

njExecuteFade()
njFadeEnable()
njFadeDisable()

njSetFadeColor
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999