Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components > UWidgetInteractionComponent
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h |
Include | #include "Components/WidgetInteractionComponent.h" |
Source | /Engine/Source/Runtime/UMG/Private/Components/WidgetInteractionComponent.cpp |
virtual bool PressKey
&40;
FKey Key,
bool bRepeat
&41;
Remarks
Press a key as if it had come from the keyboard. Avoid using this for 'a-z|A-Z', things like the Editable Textbox in Slate expect OnKeyChar to be called to signal a specific character being send to the widget. So for those cases you should use SendKeyChar.