This function returns the cut of angle of the light source.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_light_get_cutoff(
HIG_VECT_LIGHTSOURCE hLightSource,
float* lpCutoff
);
|
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. |
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