summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-10-15 21:02:58 +0200
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-10-15 23:37:59 +0200
commit39e49a8bdd436f0c8a9bf41148b325be6e4b9be1 (patch)
treed1fc8d3c98c15eb3fd18e543c4d98eed1cf796c5 /doc/classes
parentdc4b6165962536b53c4c1471fcf0be43c70e2335 (diff)
downloadredot-engine-39e49a8bdd436f0c8a9bf41148b325be6e4b9be1.tar.gz
Expose Viewport::get_screen_transform to GDScript
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Viewport.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml
index 998e782975..fce94fe567 100644
--- a/doc/classes/Viewport.xml
+++ b/doc/classes/Viewport.xml
@@ -71,6 +71,12 @@
<description>
</description>
</method>
+ <method name="get_screen_transform" qualifiers="const">
+ <return type="Transform2D" />
+ <description>
+ Returns the transform from the Viewport's coordinates to the screen coordinates of the containing window manager window.
+ </description>
+ </method>
<method name="get_texture" qualifiers="const">
<return type="ViewportTexture" />
<description>