C3DSprite::SetModulateColor |
Top Previous Next |
Syntax:
SetModulateColor(UINT clr), UINT
Purpose: Sets the modulation color of the sprite.
Parameters: clr - The new modulation color.
Returned value(s): None.
Application: cavemen.SetModulateColor(RGBA(255,255,255,128))
Class Hierarchy
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: |