TileMap.setCellv

Sets the tile index for the given cell. An index of -1 clears the cell. Optionally, the tile can also be flipped or transposed. Note that data such as navigation polygons and collision shapes are not immediately updated for performance reasons. If you need these to be immediately updated, you can call updateDirtyQuadrants.

struct TileMap
@nogc nothrow
void
setCellv
(
in Vector2 position
,
in long tile
,
in bool flip_x = false
,
in bool flip_y = false
,
in bool transpose = false
)

Meta