TileMapSetCellv Method |
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.
Namespace: Godot
public void SetCellv( Vector2 position, int tile, bool flipX = false, bool flipY = false, bool transpose = false )
[Missing <param name="position"/> documentation for "M:Godot.TileMap.SetCellv(Godot.Vector2,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]
[Missing <param name="tile"/> documentation for "M:Godot.TileMap.SetCellv(Godot.Vector2,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]
[Missing <param name="flipX"/> documentation for "M:Godot.TileMap.SetCellv(Godot.Vector2,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]
[Missing <param name="flipY"/> documentation for "M:Godot.TileMap.SetCellv(Godot.Vector2,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]
[Missing <param name="transpose"/> documentation for "M:Godot.TileMap.SetCellv(Godot.Vector2,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]