class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS Object EditorSelection
Manages the SceneTree selection in the editor.

This object manages the SceneTree selection in the editor.

Signal selection_changed<>():Signal

Emitted when the selection changes.

void add_node<>( Node node=, node:Node=, ):void

Adds a node to the selection.

Note: The newly selected node will not be automatically edited in the inspector. If you want to edit a node, use EditorInterface.edit_node().

void clear<>():void

Clear the selection.

Array get_selected_nodes<>():Array

Returns the list of selected nodes.

Array get_transformable_selected_nodes<>():Array

Returns the list of selected nodes, optimized for transform operations (i.e. moving them, rotating, etc.). This list can be used to avoid situations where a node is selected and is also a child/grandchild.

void remove_node<>( Node node=, node:Node=, ):void

Removes a node from the selection.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...