diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-31 22:32:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-31 22:32:50 +0200 |
commit | 3304e6cee0840c85db3d722814a8b321987fe117 (patch) | |
tree | dee673c8ef8488ee787606f257b6430938042f11 | |
parent | 21ea1d89efcf6e25669831baf7b7c9092d3850b1 (diff) | |
parent | 0d33f4e9a218f721eb83253c1fe222c04d495984 (diff) |
Merge pull request #21606 from Ranoller/patch-2
Tileset: Bind autotile_set_size()/get_size().
-rw-r--r-- | scene/resources/tile_set.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/tile_set.cpp b/scene/resources/tile_set.cpp index 8112d6be00..23074b4bae 100644 --- a/scene/resources/tile_set.cpp +++ b/scene/resources/tile_set.cpp @@ -940,6 +940,8 @@ void TileSet::_bind_methods() { ClassDB::bind_method(D_METHOD("create_tile", "id"), &TileSet::create_tile); ClassDB::bind_method(D_METHOD("autotile_set_bitmask_mode", "id", "mode"), &TileSet::autotile_set_bitmask_mode); ClassDB::bind_method(D_METHOD("autotile_get_bitmask_mode", "id"), &TileSet::autotile_get_bitmask_mode); + ClassDB::bind_method(D_METHOD("autotile_set_size", "id", "size"), &TileSet::autotile_set_size); + ClassDB::bind_method(D_METHOD("autotile_get_size", "id"), &TileSet::autotile_get_size); ClassDB::bind_method(D_METHOD("tile_set_name", "id", "name"), &TileSet::tile_set_name); ClassDB::bind_method(D_METHOD("tile_get_name", "id"), &TileSet::tile_get_name); ClassDB::bind_method(D_METHOD("tile_set_texture", "id", "texture"), &TileSet::tile_set_texture); |