SetSpriteTransparency

Description

Set the sprite transparency to a particular setting, with a choice of no transparency, alpha transparency, additive blending, and custom blending. By default sprites are created with alpha transparency, but if you do not need this it is recommended that you turn transparency off to improve performance. With custom blending you can specify the source and destination blend modes with the SetSpriteBlendModes command.

Definition

SetSpriteTransparency( iSpriteIndex, mode )

Parameters