This resource holds a set of cells to help bulk manipulations of TileMap.
A pattern always start at the (0,0)
coordinates and cannot have cells with negative coordinates.
Returns the tile alternative ID of the cell at coords
.
Returns the tile atlas coordinates ID of the cell at coords
.
Returns the tile source ID of the cell at coords
.
Returns the size, in cells, of the pattern.
Returns the list of used cell coordinates in the pattern.
Returns whether the pattern has a tile at the given coordinates.
Returns whether the pattern is empty or not.
Remove the cell at the given coordinates.
Sets the tile identifiers for the cell at coordinates coords
. See TileMap.set_cell.
Sets the size of the pattern.