| njSetLightColor | Japanese |
|---|---|
<-|INDEX|-> | |
| Sets the color of light defined by njCreateLight. | |
#include <NINJA.H> void njSetLightColor( *ptr , red , green , blue ) NJS_LIGHT *ptr Float red Float green Float blue
#include <NINJA.H> ........... NJS_LIGHT light; njInitSystem(); njCreateLight(&light, NJD_DIR_LIGHT); ........... /* Set the color of a parallel light source to 255,0,0 (red) */ njSetLightColor(&light, 1.f, 0.f, 0.f);
| njSetLightColor | <-|INDEX|-> |
|---|