EditorSelection
Inherits: Object
Category: Core
Brief Description
Manages the SceneTree selection in the editor.
Member Functions
void | add_node ( Node node ) |
void | clear ( ) |
Array | get_selected_nodes ( ) |
void | remove_node ( Node node ) |
Signals
- selection_changed ( )
Emitted when the selection changes.
Description
This object manages the SceneTree selection in the editor.
Member Function Description
void add_node ( Node node )
Add a node to the selection.
void clear ( )
Clear the selection.
Array get_selected_nodes ( )
Get the list of selectes nodes.
void remove_node ( Node node )
Remove a node from the selection.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_editorselection.html