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

Method queue_delete

scene/main/scene_tree.cpp:1616–1621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1614}
1615
1616void SceneTree::queue_delete(Object *p_object) {
1617 _THREAD_SAFE_METHOD_
1618 ERR_FAIL_NULL(p_object);
1619 p_object->_is_queued_for_deletion = true;
1620 delete_queue.push_back(p_object->get_instance_id());
1621}
1622
1623int SceneTree::get_node_count() const {
1624 return nodes_in_tree_count;

Callers 3

queue_freeMethod · 0.80
_notificationMethod · 0.80
_on_button_clickedMethod · 0.80

Calls 2

push_backMethod · 0.45
get_instance_idMethod · 0.45

Tested by

no test coverage detected