SetSpriteColorAlpha
Description
Set the alpha component of a sprite.
Definition
SetSpriteColorAlpha( iSpriteIndex, iAlpha )
void agk::SetSpriteColorAlpha( UINT iSpriteIndex, int iAlpha )
Parameters
- iSpriteIndex - The ID of the sprite to modify.
- iAlpha - The alpha component of the color. The acceptable range is from 0 to 255. When a value of 0 is used the sprite will be invisible. When a value of 255 is used the sprite will be fully opaque.