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

Method _call_unhandled_input

scene/main/node.cpp:3612–3620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3610}
3611
3612void Node::_call_unhandled_input(const Ref<InputEvent> &p_event) {
3613 if (p_event->get_device() != InputEvent::DEVICE_ID_INTERNAL) {
3614 GDVIRTUAL_CALL(_unhandled_input, p_event);
3615 }
3616 if (!is_inside_tree() || !get_viewport() || get_viewport()->is_input_handled()) {
3617 return;
3618 }
3619 unhandled_input(p_event);
3620}
3621
3622void Node::_call_unhandled_key_input(const Ref<InputEvent> &p_event) {
3623 if (p_event->get_device() != InputEvent::DEVICE_ID_INTERNAL) {

Callers 1

_call_input_pauseMethod · 0.80

Calls 2

is_input_handledMethod · 0.80
get_deviceMethod · 0.45

Tested by

no test coverage detected