The function gets the three position components (x, y, z) of the light source.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_light_get_position(
HIG_VECT_LIGHTSOURCE hLightSource,
float* lpPosition
);
|
Name | Type | Description |
---|---|---|
hLightSource | HIG_VECT_LIGHTSOURCE | Light source handle. |
lpPosition | float* | Buffer for three position components. |
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