This function gets the four components (red, green, blue, and alpha) of the light source diffuse color.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_light_get_diffuse(
HIG_VECT_LIGHTSOURCE hLightSource,
float* lpDiffuse
);
|
Name | Type | Description |
---|---|---|
hLightSource | HIG_VECT_LIGHTSOURCE | Light source handle. |
lpDiffuse | float* | Buffer for four diffuse color components. The component range is usually 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