SetSpriteSnap

Description

Turns on a special render mode that keeps the sprite on whole pixels only so it does not draw itself across pixel boundaries which may cause flickering as the sprite moves across the screen. As a consequence this may make the sprite appear to jump from the one pixel to the next as it moves instead of smoothly moving across the screen. If the sprite has alpha blended pixels along its edge then snapping is not required and can be turned off. By default this is turned off.

Definition

SetSpriteSnap ( iSpriteIndex, snap )

Parameters