This function enables or disables the lighting for the specified view.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_view_lighting_enable( HIG_VECT_VIEW hView, VECT_BOOL bEnable ); |
Name | Type | Description |
---|---|---|
hView | HIG_VECT_VIEW | Handle to the view. |
bEnable | VECT_BOOL | Enables or disables lighting. VECT_TRUE means that lighting will be enabled. |
This function does not process image pixels.
Vector
One view allows several light sources to be used. Use IG_vect_view_get_max_lights to get the maximum number of light sources that can be used for the view. Every light source has its own characteristics, such as position, direction, colors, cut-off angle, and so on. Use Light Functions to access light sources. Use IG_vect_view_get_light function to get the particular light source.