summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorRindbee <idleman@yeah.net>2022-11-13 14:52:37 +0800
committerRindbee <idleman@yeah.net>2023-06-12 21:49:30 +0800
commiteb74079dfbebabcab15688495bec7aa748a5bd9c (patch)
treea3e621b907b1729586fa3aac9ec28c4c0926c2ae /doc/classes
parent9f12e7b52d944281a39b7d3a33de6700c76cc23a (diff)
downloadredot-engine-eb74079dfbebabcab15688495bec7aa748a5bd9c.tar.gz
Update the edit scene root in time after it is replaced
When changing the type of the edited scene root node, it may be necessary to update edited scene root in time for the child nodes to work properly.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Node.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index 42418b3e8d..7d76676854 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -845,6 +845,13 @@
Emitted when the node is renamed.
</description>
</signal>
+ <signal name="replacing_by">
+ <param index="0" name="node" type="Node" />
+ <description>
+ Emitted when this node is being replaced by the [param node], see [method replace_by].
+ This signal is emitted [i]after[/i] [param node] has been added as a child of the original parent node, but [i]before[/i] all original child nodes have been reparented to [param node].
+ </description>
+ </signal>
<signal name="tree_entered">
<description>
Emitted when the node enters the tree.