From b0ca5cdc129d0839e6d0e3f839a05ce571da0756 Mon Sep 17 00:00:00 2001 From: Zi Ye Date: Sun, 25 Feb 2024 15:57:58 -0600 Subject: [PATCH] Add necessary elaboration to documentation for Node3D::get_parent_node_3d (cherry picked from commit 4c8015bec3c70202d14e778bf086e48e307f5c58) --- doc/classes/Node3D.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Node3D.xml b/doc/classes/Node3D.xml index 8247911a343..6cb84a8b49d 100644 --- a/doc/classes/Node3D.xml +++ b/doc/classes/Node3D.xml @@ -48,7 +48,8 @@ - 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.