SetSpriteTransparency

Description

Set the sprite transparency to a particular setting, with a choice of no transparency, alpha transparency, and additive 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.

Definition

SetSpriteTransparency( iSpriteIndex, mode )

Parameters