Struct EditorSelection

Manages the SceneTree selection in the editor.

struct EditorSelection ;

This object manages the SceneTree selection in the editor.

Methods

NameDescription
_emitChange
_nodeRemoved
addNode Adds a node to the selection.
clear Clear the selection.
getSelectedNodes Gets the list of selected nodes.
getTransformableSelectedNodes Gets the list of selected nodes, optimized for transform operations (i.e. moving them, rotating, etc). This list avoids situations where a node is selected and also child/grandchild.
removeNode Removes a node from the selection.