This function retrieves the ambient color of the view.
Declaration:
![]() |
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_view_get_ambient_color(
HIG_VECT_VIEW hView,
float * lpAmbientColor
);
|
Arguments:
Name | Type | Description |
hView | HIG_VECT_VIEW | Handle to the view. |
lpAmbientColor | float | Array of 4 floats which will receive red, green, blue, and alpha components of the ambient color. |
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:
Vector
Remarks:
See IG_vect_view_set_ambient_color for additional information.