summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-07-24 09:59:23 +0200
committerGitHub <noreply@github.com>2018-07-24 09:59:23 +0200
commitbfe52fc30a626012437c325b58587c8b65e6f8a2 (patch)
tree70e233868d0cac2577d3d79740930f45c0c6cd00 /scene/resources
parenta22e746bc3478bcba8540fbf30de58ebf975b132 (diff)
parentdc0c75ce6868ee0a1ad9bb7d6de6d0a95f033a0a (diff)
Merge pull request #20391 from YeldhamDev/expose_tileset_modulate
Expose 'modulate' set/get in TileSet resource
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/tile_set.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/tile_set.cpp b/scene/resources/tile_set.cpp
index 58057cda0c..f9df6b4304 100644
--- a/scene/resources/tile_set.cpp
+++ b/scene/resources/tile_set.cpp
@@ -923,6 +923,8 @@ void TileSet::_bind_methods() {
ClassDB::bind_method(D_METHOD("tile_get_normal_map", "id"), &TileSet::tile_get_normal_map);
ClassDB::bind_method(D_METHOD("tile_set_material", "id", "material"), &TileSet::tile_set_material);
ClassDB::bind_method(D_METHOD("tile_get_material", "id"), &TileSet::tile_get_material);
+ ClassDB::bind_method(D_METHOD("tile_set_modulate", "id", "color"), &TileSet::tile_set_modulate);
+ ClassDB::bind_method(D_METHOD("tile_get_modulate", "id"), &TileSet::tile_get_modulate);
ClassDB::bind_method(D_METHOD("tile_set_texture_offset", "id", "texture_offset"), &TileSet::tile_set_texture_offset);
ClassDB::bind_method(D_METHOD("tile_get_texture_offset", "id"), &TileSet::tile_get_texture_offset);
ClassDB::bind_method(D_METHOD("tile_set_region", "id", "region"), &TileSet::tile_set_region);