MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_selected_nodes

Method get_selected_nodes

editor/editor_data.cpp:1338–1346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1336}
1337
1338TypedArray<Node> EditorSelection::get_selected_nodes() {
1339 TypedArray<Node> ret;
1340
1341 for (const KeyValue<Node *, Object *> &E : selection) {
1342 ret.push_back(E.key);
1343 }
1344
1345 return ret;
1346}
1347
1348const List<Node *> &EditorSelection::get_top_selected_node_list() {
1349 if (changed) {

Callers 6

_post_popupMethod · 0.80
renameMethod · 0.80
editMethod · 0.80
_cell_multi_selectedMethod · 0.80
_tool_selectedMethod · 0.80
_update_script_buttonMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected