Table of Contents

Method LoopCount

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

LoopCount(int)

Sets the total number of loops/cycles of the animation that should play.

public AnimationTagBuilder LoopCount(int count)

Parameters

count int

A value that indicates the total number of loops/cycles of the animation that should play.

Returns

AnimationTagBuilder

This instance of the AnimationTagBuilder class.

Remarks

0 = infinite looping

If IsPingPong is equal to true, each direction of the ping-pong will count as a loop.