njLightAllOn | Japanese
    겂|INDEX|겈
This function reflects the light set at njCreateLight (i.e. it turns on the lights).

### Syntax

      #include <Ninja.h>
      void   njLightAllOn( void )

### Parameters

  None

### Return Value

  None

### Error

  None

### Description

  This function turns on all the lights that were turned off.
  (By default, all lights are turned on and so there is no need to call this function.)

### Example

      #include <NINJA.H>
      ...........

      NJS_LIGHT light[5];

      njInitSystem();
      njCreateLight(&light[0], NJD_DIR_LIGHT);
      njCreateLight(&light[1], NJD_POINT_LIGHT);
      njCreateLight(&light[2], NJD_SPOT_LIGHT);
      njCreateLight(&light[3], NJD_SPOT_LIGHT);
      njCreateLight(&light[4], NJD_SPOT_LIGHT);
      ...........
      /* Turn off the three light sources */
      njLightOff(&light[0]);
      njLightOff(&light[2]);
      njLightOff(&light[3]);
      ...........
      /* Turn on all light sources */
      njLightAllOn();

### Remark

  The relationships of njCreateLight/njDeleteLight and njLightOn/njLightOff
  functions are related to, for example, installing light bulb/removing light
  bulb and turning on installed lights/turning off installed lights.

### Related Items

  njCreateLight
  njLightOff

njLightAllOn |
    겂|INDEX|겈