CSS Logo XNACS1Lib Library Documentation
XNACS1Primitive.SetTextureSpriteAnimationFrames Method 

Game-Themed Introductory Programming Project   

Sets animation parameters for a sprite sheet primitive. Zero-based first frame column for the beginning sprite in the animation sequence. Zero-based first frame row for the beginning sprite in the animation sequence. Zero-based first frame column for the ending sprite in the animation sequence. Zero-based first frame row for the ending sprite in the animation sequence. How many ticks the animation will pause for on each frame. The behavior of the animation loop.

public void SetTextureSpriteAnimationFrames(
   Int32 beginX,
   Int32 beginY,
   Int32 endX,
   Int32 endY,
   Int32 ticksPerFrame,
   SpriteSheetAnimationMode mode
);

See Also

XNACS1Primitive Class | XNACS1Lib Namespace | SetTextureSpriteSheet | UseSpriteSheet | UseSpriteSheetAnimation | CurrentSpriteSheetFrameX | CurrentSpriteSheetFrameY