njSetLightAlpha | Japanese |
---|---|
--|INDEX|-> | |
Sets the changes of alpha against material, whose light is set by njCreateLight. |
#include <Ninja.h> void njSetLightAlpha( *ptr, rate ) NJS_LIGHT *ptr Float rate
#include........... NJS_LIGHT light; njInitSystem(); njCreateLight(&light, NJD_DIR_LIGHT); ........... /* Decreases the alpha by 0.5 of specular luminance. */ njSetLightAlpha(&light, 0.5f);
njSetLightAlpha | --|INDEX|-> |
---|