summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-28 10:37:14 +0100
committerGitHub <noreply@github.com>2021-11-28 10:37:14 +0100
commit69a194f051c5f02243092e305633b9ffbd03b05f (patch)
tree9f8c901630c85b71175875df0686c9ed21b90f97 /doc/classes
parent52b7d5fa347fb88aa016e1e30414abd01e800381 (diff)
parent81c1d5197e40415c20520b1ae90560b7cad2210e (diff)
Merge pull request #55239 from zacryol/find-world-2d-description-fix
Fix description of Viewport `find_world_2d()` method.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Viewport.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml
index 0418f29808..4a3f99696d 100644
--- a/doc/classes/Viewport.xml
+++ b/doc/classes/Viewport.xml
@@ -25,13 +25,13 @@
<method name="find_world_2d" qualifiers="const">
<return type="World2D" />
<description>
- Returns the 2D world of the viewport.
+ Returns the first valid [World2D] for this viewport, searching the [member world_2d] property of itself and any Viewport ancestor.
</description>
</method>
<method name="find_world_3d" qualifiers="const">
<return type="World3D" />
<description>
- Returns the 3D world of the viewport, or if none the world of the parent viewport.
+ Returns the first valid [World3D] for this viewport, searching the [member world_3d] property of itself and any Viewport ancestor.
</description>
</method>
<method name="get_camera_2d" qualifiers="const">