Add necessary elaboration to documentation for Node3D::get_parent_node_3d

(cherry picked from commit 4c8015bec3)
This commit is contained in:
Zi Ye 2024-02-25 15:57:58 -06:00 committed by Rémi Verschelde
parent e01bf42ca5
commit b0ca5cdc12
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@
<method name="get_parent_node_3d" qualifiers="const">
<return type="Node3D" />
<description>
Returns the parent [Node3D], or an empty [Object] if no parent exists or parent is not of type [Node3D].
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].
[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.
</description>
</method>
<method name="get_world_3d" qualifiers="const">