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

Method set_process_internal

scene/main/node.cpp:1041–1061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1039}
1040
1041void Node::set_process_internal(bool p_process_internal) {
1042 ERR_THREAD_GUARD
1043 if (data.process_internal == p_process_internal) {
1044 return;
1045 }
1046
1047 if (!is_inside_tree()) {
1048 data.process_internal = p_process_internal;
1049 return;
1050 }
1051
1052 if (_is_any_processing()) {
1053 _remove_from_process_thread_group();
1054 }
1055
1056 data.process_internal = p_process_internal;
1057
1058 if (_is_any_processing()) {
1059 _add_to_process_thread_group();
1060 }
1061}
1062
1063void Node::_add_process_group() {
1064 data.tree->_add_process_group(this);

Callers 3

_set_processMethod · 0.80
handle_cursor_editingMethod · 0.80
test_node.hFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected