Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Console.h |
Include |
#include "Engine/Console.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Console.cpp |
virtual bool InputKey_Open
(
int32 ControllerId,
FKey Key,
EInputEvent Event,
float AmountDepressed,
bool bGamepad
)
Process an input key event routed through unrealscript from another object. This method is assigned as the value for the OnReceivedNativeInputKey delegate so that native input events are routed to this unrealscript function.
true to consume the key event, false to pass it on.
Parameter |
Description |
---|---|
ControllerId |
the controller that generated this input key event |
Key |
the name of the key which an event occured for (KEY_Up, KEY_Down, etc.) |
EventType |
the type of event which occured (pressed, released, etc.) |
AmountDepressed |
for analog keys, the depression percent. |