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

Method _call_input

scene/main/node.cpp:3592–3600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3590}
3591
3592void Node::_call_input(const Ref<InputEvent> &p_event) {
3593 if (p_event->get_device() != InputEvent::DEVICE_ID_INTERNAL) {
3594 GDVIRTUAL_CALL(_input, p_event);
3595 }
3596 if (!is_inside_tree() || !get_viewport() || get_viewport()->is_input_handled()) {
3597 return;
3598 }
3599 input(p_event);
3600}
3601
3602void Node::_call_shortcut_input(const Ref<InputEvent> &p_event) {
3603 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