Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FGameplayViewportClient
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.
Virtual Inheritance
- FViewportClient::InputChar → FGameplayViewportClient::InputChar
Derived Overrides
| Name | InputChar |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/GameplayViewportClient.h |
| Include Path | #include "GameplayViewportClient.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameplayViewportClient.cpp |
virtual bool InputChar
(
FViewport *const Viewport,
const int32 ControllerId,
const 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. |