C3DSprite::GetModulateColor

Top  Previous  Next

Syntax:

 

GetModulateColor(), UINT

 

Purpose:

Returns the current modulation color.

 

Parameters:

None.

 

Returned value(s):

The modulation color in RGBA format.

 

Class Hierarchy

C3DSprite

 

Additional Info:

The texture used to draw a sprite can be tinted and alpha drawn by using a modulation color. The default modulation color is 0xFFFFFFFF which corresponds to RGBA(255,255,255,255) which maintains the original source color and alpha values.

 

See Also:

Set ModulateColor