diff --git a/doc/base/classes.xml b/doc/base/classes.xml index fce3aea0bec..e2e5cd2beb0 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -36394,6 +36394,17 @@ This method controls whether the position between two cached points is interpola Return whether the referenced cell is flipped over the Y axis. + + + + + + + + + Return whether the referenced cell is transposed, i.e. the X and Y axes are swapped (mirroring with regard to the (1,1) vector). + + Clear all cells. diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index 5c298e96f6c..2014c9730ff 100644 --- a/scene/2d/tile_map.cpp +++ b/scene/2d/tile_map.cpp @@ -1205,6 +1205,7 @@ void TileMap::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_cellv","pos"),&TileMap::get_cellv); ObjectTypeDB::bind_method(_MD("is_cell_x_flipped","x","y"),&TileMap::is_cell_x_flipped); ObjectTypeDB::bind_method(_MD("is_cell_y_flipped","x","y"),&TileMap::is_cell_y_flipped); + ObjectTypeDB::bind_method(_MD("is_cell_transposed","x","y"),&TileMap::is_cell_transposed); ObjectTypeDB::bind_method(_MD("clear"),&TileMap::clear);