##### Ninja Library - Light Function

# njCnkSetEasyLightColor

Set chunk easy light color

### FORMAT

`

  void njCnkSetEasyLightColor( 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 njCnkEasyDrawObject (njCnkEasyDrawModel).

### EXAMPLE

      sbInitSystem( NJD_RESOLUTION_640x240_NTSCNI, NJD_FRAMEBUFFER_MODE_RGB565, 1 );
      njInitVertexBuffer( 1000000, 0, 1000, 0, 0 );
      njInitMatrix( matrix, 8 , 0);
      njInit3D( vbuf, 4096 );
      njInitView( &view );
      njSetView( &view );
      njCnkSetEasyLight( 0.f, 0.f, 1.0f );
      njCnkSetEasyLightIntensity( 1.0f, 0.0f );
      njCnkSetEasyLightColor( 0.8f, 0.8f, 1.0f );
      njClearMatrix();
      njTranslate( NULL, 0.f, 0.f, -10.f );
      njRotateXYZ( NULL, rx,ry,rz );
      njCnkEasyDrawObject( object );

### REFERENCE

  `njCnkEasyDrawObject()
  njCnkEasyDrawModel()
  njCnkSetEasyLight()
  njCnkSetEasyLightIntensity()
  `

njCnkSetEasyLightColor

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999