Function 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: 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.

void setCellv (
  const(Vector2) position,
  const(long) tile,
  const(bool) flip_x = false,
  const(bool) flip_y = false,
  const(bool) transpose = false
) nothrow @nogc;