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

Method get_groups

scene/main/node.cpp:2517–2525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2515}
2516
2517void Node::get_groups(List<GroupInfo> *p_groups) const {
2518 ERR_THREAD_GUARD
2519 for (const KeyValue<StringName, GroupData> &E : data.grouped) {
2520 GroupInfo gi;
2521 gi.name = E.key;
2522 gi.persistent = E.value.persistent;
2523 p_groups->push_back(gi);
2524 }
2525}
2526
2527int Node::get_persistent_group_count() const {
2528 ERR_THREAD_GUARD_V(0);

Callers 6

_parse_nodeMethod · 0.80
_update_nodeMethod · 0.80
_load_scene_groupsMethod · 0.80
_update_treeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected