ImageGear Professional DLL v17.2 for Windows
IG_vect_light_get_cutoff
Send Feedback
ImageGear Professional DLL v17.2 for Windows > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Light Functions > IG_vect_light_get_cutoff

Glossary Item Box

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

©2012. Accusoft Corporation. All Rights Reserved.