Skip to content

Commit d8cfc5e

Browse files
committed
Merge pull request #88841 from MajorMcDoom/doc-fix
Add necessary elaboration to documentation for `Node3D::get_parent_node_3d`
2 parents 6149462 + 4c8015b commit d8cfc5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/classes/Node3D.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
<method name="get_parent_node_3d" qualifiers="const">
5050
<return type="Node3D" />
5151
<description>
52-
Returns the parent [Node3D], or an empty [Object] if no parent exists or parent is not of type [Node3D].
52+
Returns the parent [Node3D], or [code]null[/code] if no parent exists, the parent is not of type [Node3D], or [member top_level] is [code]true[/code].
53+
[b]Note:[/b] Calling this method is not equivalent to [code]get_parent() as Node3D[/code], which does not take [member top_level] into account.
5354
</description>
5455
</method>
5556
<method name="get_world_3d" qualifiers="const">

0 commit comments

Comments
 (0)