L_VecGetAmbientColor

#include "lvkrn.h"

COLORREF EXT_FUNCTION L_VecGetAmbientColor(pVector)

const pVECTORHANDLE pVector;

/* pointer to a vector handle */

Gets the ambient (room) color used when drawing a vector image.

Parameter

Description

pVector

Pointer to a vector handle.

Returns

The RGB value of the current ambient color.

Comments

This function will only be effective if the use of lights has been enabled using L_VecSetUseLights.

The default ambient color is white (RGB(255, 255, 255)).

This function has no effect in the GDI engine.

Required DLLs and Libraries

LVKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_VecSetAmbientColor, L_VecSetUseLights, L_VecGetUseLights

Example

For an example, refer to L_VecSetAmbientColor.