This function returns the cut of angle of the light source.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_vect_light_get_cutoff(
HIG_VECT_LIGHTSOURCE hLightSource,
float* lpCutoff
);
|
Arguments:
Name |
Type |
Description |
hLightSource |
HIG_VECT_LIGHTSOURCE |
Light source handle. |
lpCutoff |
float* |
Buffer for the cut off angle. The range of cut off angle is 0..90 or 180 degrees. 180 degrees means uniform light distribution. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
None