 
            This function sets three direction components (nx, ny, nz) for the light source.
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT ACCUAPI IG_vect_light_set_direction(
        HIG_VECT_LIGHTSOURCE hLightSource, 
        float* lpDirection
);
 | |
| Name | Type | Description | 
|---|---|---|
| hLightSource | HIG_VECT_LIGHTSOURCE | Light source handle. | 
| lpDirection | float* | Buffer with three direction components to be set. | 
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