Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UGameViewportClient
Description
Allow the viewport-client to process an axis 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::InputAxis → UGameViewportClient::InputAxis
| Name | InputAxis |
| 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 InputAxis
(
const FInputKeyEventArgs & Args
)
True to consume the axis movement, false to pass it on.
Parameters
| Name | Remarks |
|---|---|
| Args | The input event arguments for this axis movement. |