diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-10-15 21:02:58 +0200 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-10-15 23:37:59 +0200 |
commit | 39e49a8bdd436f0c8a9bf41148b325be6e4b9be1 (patch) | |
tree | d1fc8d3c98c15eb3fd18e543c4d98eed1cf796c5 /scene/main | |
parent | dc4b6165962536b53c4c1471fcf0be43c70e2335 (diff) |
Expose Viewport::get_screen_transform to GDScript
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/viewport.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index f66337a2f9..a2963eadd5 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -3729,6 +3729,7 @@ void Viewport::_bind_methods() { ClassDB::bind_method(D_METHOD("set_global_canvas_transform", "xform"), &Viewport::set_global_canvas_transform); ClassDB::bind_method(D_METHOD("get_global_canvas_transform"), &Viewport::get_global_canvas_transform); ClassDB::bind_method(D_METHOD("get_final_transform"), &Viewport::get_final_transform); + ClassDB::bind_method(D_METHOD("get_screen_transform"), &Viewport::get_screen_transform); ClassDB::bind_method(D_METHOD("get_visible_rect"), &Viewport::get_visible_rect); ClassDB::bind_method(D_METHOD("set_transparent_background", "enable"), &Viewport::set_transparent_background); |