This function sets four diffuse color components (red, green, blue, and alpha) for the light source.
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT ACCUAPI IG_vect_light_set_diffuse(
        HIG_VECT_LIGHTSOURCE hLightSource, 
        float* lpDiffuse
);
 | |
| Name | Type | Description | 
|---|---|---|
| hLightSource | HIG_VECT_LIGHTSOURCE | Light source handle. | 
| lpDiffuse | float* | Buffer with four diffuse color components to be set. Usually the component range is 0..1. | 
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None