Table of Contents

Constructor TilemapLayer

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

TilemapLayer(string, Tileset, int, int, Vector2)

Initializes a new instance of the TilemapLayer class.

public TilemapLayer(string name, Tileset tileset, int columns, int rows, Vector2 offset)

Parameters

name string

The name assign the TilemapLayer.

tileset Tileset

The source tileset used by the tiles in this TilemapLayer.

columns int

The total number of columns to assign the TilemapLayer.

rows int

The total number of rows to assign the TilemapLayer.

offset Vector2

The x- and y-coordinate position offset, relative to the position of the Tilemap to assign the TilemapLayer.