diff options
| author | kobewi <kobewi4e@gmail.com> | 2021-04-07 22:08:41 +0200 |
|---|---|---|
| committer | kobewi <kobewi4e@gmail.com> | 2021-04-12 00:13:08 +0200 |
| commit | 72014a7a2edd3664f146965c529c5b167e3a2a26 (patch) | |
| tree | 944a70b78b6463c52f090a3ff5835f15de04ee00 /doc | |
| parent | 47aef8e8dcc61b505777a84e31a507ee555d188f (diff) | |
| download | redot-engine-72014a7a2edd3664f146965c529c5b167e3a2a26.tar.gz | |
Expose edit_node() for editor plugins
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/classes/EditorInterface.xml | 9 | ||||
| -rw-r--r-- | doc/classes/EditorSelection.xml | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml index 4d0e11fb19..a5328ce382 100644 --- a/doc/classes/EditorInterface.xml +++ b/doc/classes/EditorInterface.xml @@ -10,6 +10,15 @@ <tutorials> </tutorials> <methods> + <method name="edit_node"> + <return type="void"> + </return> + <argument index="0" name="node" type="Node"> + </argument> + <description> + Edits the given [Node]. The node will be also selected if it's inside the scene tree. + </description> + </method> <method name="edit_resource"> <return type="void"> </return> diff --git a/doc/classes/EditorSelection.xml b/doc/classes/EditorSelection.xml index 1ff9744b70..63e89750c3 100644 --- a/doc/classes/EditorSelection.xml +++ b/doc/classes/EditorSelection.xml @@ -17,6 +17,7 @@ </argument> <description> Adds a node to the selection. + [b]Note:[/b] The newly selected node will not be automatically edited in the inspector. If you want to edit a node, use [method EditorInterface.edit_node]. </description> </method> <method name="clear"> |
