Table of Contents

Method CreateAnimatedSprite

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

CreateAnimatedSprite(string)

Creates a new AnimatedSprite using the AnimationTag element with the specified name in this SpriteSheet.

public AnimatedSprite CreateAnimatedSprite(string tagName)

Parameters

tagName string

The name of the AnimationTag element in this SpriteSheet to create the AnimatedSprite with.

Returns

AnimatedSprite

The AnimatedSprite that is created by this method.

Exceptions

KeyNotFoundException

Thrown if this SpriteSheet does not contain an AnimationTag element with the specified name.