##### Ninja Library - Light Function

# njSetEasyLightColor

Sets easy light color

### FORMAT

`

  void njSetEasyLightColor( r, g, b )
  float r
  float g
  float b

`

### PARAMETER

  `r` | Red component for light
  `g` | Green component for light
  `b` | Blue component for light

### RETURN

  None

### DESCRIPTION

  Sets the light color for the njEasyDrawObject(njEasyDrawModel) function.

### EXAMPLE

      sbInitSystem( NJD_RESOLUTION_640x240_NTSCNI, NJD_FRAMEBUFFER_MODE_RGB565, 1 );
      njInitVertexBuffer( 1000000, 0, 1000, 0 );
      njInitMatrix( matrix, 8 , 0);
      njInit3D( vbuf, 4096 );
      njInitView( &view );
      njSetView( &view );
      njSetEasyLight( 0.f, 0.f, 1.0f );
      njSetEasyLightIntensity( 1.0f, 0.0f );
      njSetEasyLightColor( 0.8f, 0.8f, 1.0f );
      njClearMatrix();
      njTranslate( NULL, 0.f, 0.f, -10.f );
      jRotateXYZ( NULL, rx,ry,rz );
      njEasyDrawObject( object );

### REFERENCE

  `njEasyDrawObject()
  njEasyDrawModel()
  njSetEasyLight()
  njSetEasyLightIntensity()
  `

njSetEasyLightColor

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999