summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-01 20:32:37 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-01 20:32:37 +0200
commitaa79d1730527f1bfeaceadcc0c27635b7289b2bc (patch)
treec9cba4b1abef7aa1ec1f5057a31f0e9fbab1bf13
parent81bcfe62a6dbecf7617f7c6819b67610019f7615 (diff)
parent1fc9f10b2d33104a20d5efa0059e030fcc65db00 (diff)
downloadredot-engine-aa79d1730527f1bfeaceadcc0c27635b7289b2bc.tar.gz
Merge pull request #91415 from aaronp64/packedscene_docs
Minor `PackedScene` documentation improvements
-rw-r--r--doc/classes/PackedScene.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/PackedScene.xml b/doc/classes/PackedScene.xml
index 579b4c5b9f..26d8fa8d5f 100644
--- a/doc/classes/PackedScene.xml
+++ b/doc/classes/PackedScene.xml
@@ -99,14 +99,14 @@
<return type="int" enum="Error" />
<param index="0" name="path" type="Node" />
<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>
</method>
</methods>
<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 }">
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>
</members>
<constants>