Table of Contents

Method CreateAnimatedTilemap

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

CreateAnimatedTilemap(AsepriteFile, GraphicsDevice, ProcessorOptions?)

Creates a new AnimatedTilemap from the all frames in the provided aseprite file.

public static AnimatedTilemap CreateAnimatedTilemap(this AsepriteFile aseFile, GraphicsDevice device, ProcessorOptions? options = null)

Parameters

aseFile AsepriteFile

The aseprite file instance.

device GraphicsDevice

The graphics device used to create graphical resources.

options ProcessorOptions

The options to use when processing the animated tilemap.

Returns

AnimatedTilemap

the AnimatedTilemap created by this method.

Exceptions

ArgumentNullException

Thrown if aseFile is null.

-or-

throw if device is null.