njExecuteFade Japanese
--|INDEX|->
Excutes the fade effect.

FORMAT

#include <Ninja.h>
void njExecuteFade(f)
Float f

PARAMETERS

unsigned char f
fade ratio (0x00`0xff)

RETURN VALUE

None

FUNCTION


EXAMPLE

The following fades out to green.
Float fade_val

njSetFadeColor(0xff00ff00);
njExecuteFade(fade_val);
njFadeEnable();

          :
    Drawing of models, etc.
          :

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

NOTES


RELATED TOPICS

njSetFadeColor()
njFadeExecute()
njFadeEnable()
njFadeDisable()

njExecuteFade
--|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997