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

Method _get_node_count

main/performance.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143int Performance::_get_node_count() const {
144 MainLoop *ml = OS::get_singleton()->get_main_loop();
145 SceneTree *sml = Object::cast_to<SceneTree>(ml);
146 if (!sml) {
147 return 0;
148 }
149 return sml->get_node_count();
150}
151
152String Performance::get_monitor_name(Monitor p_monitor) const {
153 ERR_FAIL_INDEX_V(p_monitor, MONITOR_MAX, String());

Callers

nothing calls this directly

Calls 2

get_main_loopMethod · 0.45
get_node_countMethod · 0.45

Tested by

no test coverage detected