ImageGear for C and C++ on Windows v19.0
IG_vect_light_get_exponent

This function gets a spot exponent of the light source. 

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_light_get_exponent(
        HIG_VECT_LIGHTSOURCE hLightSource, 
        float* lpExponent
);

Arguments:

Name Type Description
hLightSource HIG_VECT_LIGHTSOURCE Light source handle.
lpExponent float* Buffer for the light spot exponent. The range of the spot exponent 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

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback