Browse Source

Merge pull request #55239 from zacryol/find-world-2d-description-fix

Fix description of Viewport `find_world_2d()` method.
Rémi Verschelde 3 years ago
parent
commit
69a194f051
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/classes/Viewport.xml

+ 2 - 2
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">