diff options
| author | Poommetee Ketson | 2017-07-22 17:11:42 +0700 |
|---|---|---|
| committer | Poommetee Ketson | 2017-07-23 18:57:03 +0700 |
| commit | 2777f81d290e4b9a17afedc100a5b83666e04495 (patch) | |
| tree | c6e707708590537ae80566649a318d17c1a8bbb8 /scene/gui/texture_rect.cpp | |
| parent | 0ed59fdf12a8c8b385163c70ace0cd659867c9b1 (diff) | |
| download | godot-2777f81d290e4b9a17afedc100a5b83666e04495.tar.gz godot-2777f81d290e4b9a17afedc100a5b83666e04495.tar.zst godot-2777f81d290e4b9a17afedc100a5b83666e04495.zip | |
Add object type hint for docs
Diffstat (limited to '')
| -rw-r--r-- | scene/gui/texture_rect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/texture_rect.cpp b/scene/gui/texture_rect.cpp index 92a3db6a7..9459002bc 100644 --- a/scene/gui/texture_rect.cpp +++ b/scene/gui/texture_rect.cpp @@ -101,8 +101,8 @@ Size2 TextureRect::get_minimum_size() const { } void TextureRect::_bind_methods() { - ClassDB::bind_method(D_METHOD("set_texture", "texture"), &TextureRect::set_texture); - ClassDB::bind_method(D_METHOD("get_texture"), &TextureRect::get_texture); + ClassDB::bind_method(D_METHOD("set_texture", "texture:Texture"), &TextureRect::set_texture); + ClassDB::bind_method(D_METHOD("get_texture:Texture"), &TextureRect::get_texture); ClassDB::bind_method(D_METHOD("set_expand", "enable"), &TextureRect::set_expand); ClassDB::bind_method(D_METHOD("has_expand"), &TextureRect::has_expand); ClassDB::bind_method(D_METHOD("set_stretch_mode", "stretch_mode"), &TextureRect::set_stretch_mode); |
