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

Method propagate_notification

scene/main/node.cpp:2607–2616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2605}
2606
2607void Node::propagate_notification(int p_notification) {
2608 ERR_THREAD_GUARD
2609 data.blocked++;
2610 notification(p_notification);
2611
2612 for (KeyValue<StringName, Node *> &K : data.children) {
2613 K.value->propagate_notification(p_notification);
2614 }
2615 data.blocked--;
2616}
2617
2618void Node::propagate_call(const StringName &p_method, const Array &p_args, const bool p_parent_first) {
2619 ERR_THREAD_GUARD

Callers 6

_notificationMethod · 0.80
_update_from_settingsMethod · 0.80
_save_sceneMethod · 0.80
notify_changesMethod · 0.80
_inspect_hovered_nodeMethod · 0.80

Calls 1

notificationFunction · 0.85

Tested by

no test coverage detected