ImageGear Professional DLL for Windows
IG_vect_light_set_position

This function sets three position components (x, y, z) for the light source.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_light_set_position(
        HIG_VECT_LIGHTSOURCE hLightSource, 
        float* lpPosition
);

Arguments:

Name Type Description
hLightSource HIG_VECT_LIGHTSOURCE Light source handle.
lpPosition float* Three position components (x, y, z) to be set.

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

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback