summaryrefslogtreecommitdiff
path: root/doc/classes/Node.xml
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2021-08-24 08:31:34 -0300
committerGitHub <noreply@github.com>2021-08-24 08:31:34 -0300
commit6609ce1944fe6113f005a38c8471eeb66c2ff8fa (patch)
tree13b0eaf7ee75281966b26cbf717b6ce4843847fb /doc/classes/Node.xml
parente95fa21b455a5e2c512fe6e054f86df1f01e5bd3 (diff)
parent7eb6ae279848e8300431cfe925be70fa7ffd7299 (diff)
Merge pull request #52000 from lyuma/set_editable_instance
Make Node editable_instance methods available to GDScript
Diffstat (limited to 'doc/classes/Node.xml')
-rw-r--r--doc/classes/Node.xml19
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index 932deb6e88..f5bc705ecb 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -376,7 +376,14 @@
<method name="is_displayed_folded" qualifiers="const">
<return type="bool" />
<description>
- Returns [code]true[/code] if the node is folded (collapsed) in the Scene dock.
+ Returns [code]true[/code] if the node is folded (collapsed) in the Scene dock. This method is only intended for use with editor tooling.
+ </description>
+ </method>
+ <method name="is_editable_instance" qualifiers="const">
+ <return type="bool" />
+ <argument index="0" name="node" type="Node" />
+ <description>
+ Returns [code]true[/code] if [code]node[/code] has editable children enabled relative to this node. This method is only intended for use with editor tooling.
</description>
</method>
<method name="is_greater_than" qualifiers="const">
@@ -584,7 +591,15 @@
<return type="void" />
<argument index="0" name="fold" type="bool" />
<description>
- Sets the folded state of the node in the Scene dock.
+ Sets the folded state of the node in the Scene dock. This method is only intended for use with editor tooling.
+ </description>
+ </method>
+ <method name="set_editable_instance">
+ <return type="void" />
+ <argument index="0" name="node" type="Node" />
+ <argument index="1" name="is_editable" type="bool" />
+ <description>
+ Sets the editable children state of [code]node[/code] relative to this node. This method is only intended for use with editor tooling.
</description>
</method>
<method name="set_editor_description">