Table of Contents

Constructor TextureAtlas

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

TextureAtlas(string, Texture2D)

Initializes a new instance of the TextureAtlas class.

public TextureAtlas(string name, Texture2D texture)

Parameters

name string

The name to assign the TextureAtlas.

texture Texture2D

The source image to give the TextureAtlas.