Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UScriptViewportClient
- UGameViewportClient
- UCommonGameViewportClient
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonGameViewportClient.h |
| Include | #include "CommonGameViewportClient.h" |
Syntax
UCLASS&40;Within&61;Engine, Transient, Config&61;Engine&41;
class UCommonGameViewportClient : public UGameViewportClient
Remarks
CommonUI Viewport to reroute input to UI first. Needed to allow CommonUI to route / handle inputs.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnRerouteAxisDelegate | RerouteAxis | ||
| FOnRerouteInputDelegate | RerouteBlockedInput | ||
| FOnRerouteInputDelegate | RerouteInput | ||
| FOnRerouteTouchDelegate | RerouteTouch |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UCommonGameViewportClient
(
FVTableHelper& Helper |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | HandleRerouteAxis
(
FInputDeviceId DeviceId, |
Default Handler for Axis input. | |
| void | HandleRerouteInput
(
FInputDeviceId DeviceId, |
Default Handler for Key input. | |
| void | HandleRerouteTouch
(
int32 ControllerId, |
Default Handler for Touch input. | |
| bool | IsKeyPriorityAboveUI
(
const FInputKeyEventArgs& EventArgs |
Console window & fullscreen shortcut have higher priority than UI | |
| FOnRerouteAxisDelegate & | |||
| FOnRerouteInputDelegate & | |||
| FOnRerouteInputDelegate & | |||
| FOnRerouteTouchDelegate & |
Overridden from FViewportClient
| Type | Name | Description | |
|---|---|---|---|
| bool | InputAxis
(
FViewport* Viewport, |
Check an axis movement received by the viewport. | |
| bool | InputKey
(
const FInputKeyEventArgs& EventArgs |
Check a key event received by the viewport. | |
| bool | InputTouch
(
FViewport* Viewport, |
Check a key event received by the viewport. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | HandleRerouteAxis
(
int32 ControllerId, |
This version of HandleRerouteAxis has been deprecated. Please use the version that takes an FInputDeviceId instead | |
| void | HandleRerouteInput
(
int32 ControllerId, |
This version of HandleRerouteInput has been deprecated. Please use the version that takes an FInputDeviceId instead |