Browse Source

Merge pull request #91415 from aaronp64/packedscene_docs

Minor `PackedScene` documentation improvements
Rémi Verschelde 1 year ago
parent
commit
aa79d17305
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/classes/PackedScene.xml

+ 2 - 2
doc/classes/PackedScene.xml

@@ -99,14 +99,14 @@
 			<return type="int" enum="Error" />
 			<return type="int" enum="Error" />
 			<param index="0" name="path" type="Node" />
 			<param index="0" name="path" type="Node" />
 			<description>
 			<description>
-				Pack will ignore any sub-nodes not owned by given node. See [member Node.owner].
+				Packs the [param path] node, and all owned sub-nodes, into this [PackedScene]. Any existing data will be cleared. See [member Node.owner].
 			</description>
 			</description>
 		</method>
 		</method>
 	</methods>
 	</methods>
 	<members>
 	<members>
 		<member name="_bundled" type="Dictionary" setter="_set_bundled_scene" getter="_get_bundled_scene" default="{ &quot;conn_count&quot;: 0, &quot;conns&quot;: PackedInt32Array(), &quot;editable_instances&quot;: [], &quot;names&quot;: PackedStringArray(), &quot;node_count&quot;: 0, &quot;node_paths&quot;: [], &quot;nodes&quot;: PackedInt32Array(), &quot;variants&quot;: [], &quot;version&quot;: 3 }">
 		<member name="_bundled" type="Dictionary" setter="_set_bundled_scene" getter="_get_bundled_scene" default="{ &quot;conn_count&quot;: 0, &quot;conns&quot;: PackedInt32Array(), &quot;editable_instances&quot;: [], &quot;names&quot;: PackedStringArray(), &quot;node_count&quot;: 0, &quot;node_paths&quot;: [], &quot;nodes&quot;: PackedInt32Array(), &quot;variants&quot;: [], &quot;version&quot;: 3 }">
 			A dictionary representation of the scene contents.
 			A dictionary representation of the scene contents.
-			Available keys include "rnames" and "variants" for resources, "node_count", "nodes", "node_paths" for nodes, "editable_instances" for paths to overridden nodes, "conn_count" and "conns" for signal connections, and "version" for the format style of the PackedScene.
+			Available keys include "names" and "variants" for resources, "node_count", "nodes", "node_paths" for nodes, "editable_instances" for paths to overridden nodes, "conn_count" and "conns" for signal connections, and "version" for the format style of the PackedScene.
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>