Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FViewportClient
Description
Allow the viewport-client to process a character event received by the viewport. If the viewport-client uses the event, it should return true. If true is returned, the viewport should not bubble the event.
Derived Overrides
| Name | InputChar |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ViewportClient.h |
| Include Path | #include "ViewportClient.h" |
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 that received the event (is focused by the owner of the axis). |
| ControllerId | The controller from which the character event was emitted. |
| Character | The character. |