Choose your operating system:
Windows
macOS
Linux
| FViewportClient::InputKey()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h |
Include |
#include "Engine/GameViewportClient.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp |
virtual bool InputKey
(
const FInputKeyEventArgs & EventArgs
)
Check a key event received by the viewport. If the viewport client uses the event, it should return true to consume it.
True to consume the key event, false to pass it on.
Parameter |
Description |
---|---|
EventArgs |
The Input event args. |