Constructor TilemapLayer
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
stringThe name assign the TilemapLayer.
tileset
TilesetThe source tileset used by the tiles in this TilemapLayer.
columns
intThe total number of columns to assign the TilemapLayer.
rows
intThe total number of rows to assign the TilemapLayer.
offset
Vector2The x- and y-coordinate position offset, relative to the position of the Tilemap to assign the TilemapLayer.