Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UGameViewportClient
Description
Check a character input received by the viewport. If the viewport client uses the character, it should return true to consume it.
Virtual Inheritance
- FViewportClient::InputChar → UGameViewportClient::InputChar
| Name | InputChar |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h |
| Include Path | #include "Engine/GameViewportClient.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp |
virtual bool InputChar
(
FViewport * Viewport,
int32 ControllerId,
TCHAR Character
)
True to consume the character, false to pass it on.
Parameters
| Name | Remarks |
|---|---|
| Viewport | The viewport which the axis movement is from. |
| ControllerId | The controller which the axis movement is from. |
| Character | The character. |