ImageGear for C and C++ on Windows v20.3 - Updated
IG_vect_light_set_exponent
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Light Functions > IG_vect_light_set_exponent

This function sets the spot exponent for the light source.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_light_set_exponent(
        HIG_VECT_LIGHTSOURCE hLightSource, 
        float fExponent
);

Arguments:

Name Type Description
hLightSource HIG_VECT_LIGHTSOURCE Light source handle.
fExponent float New spot exponent to be set. Spot exponent range is 0..128.

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

Is this page helpful?
Yes No
Thanks for your feedback.