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
namestringThe name assign the TilemapLayer.
tilesetTilesetThe source tileset used by the tiles in this TilemapLayer.
columnsintThe total number of columns to assign the TilemapLayer.
rowsintThe total number of rows to assign the TilemapLayer.
offsetVector2The x- and y-coordinate position offset, relative to the position of the Tilemap to assign the TilemapLayer.