Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UGameViewportClient
Description
Check an axis movement received by the viewport. If this viewport client uses this input and wants to consume it (stop it from being passed along to further viewports) then it should return true.
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. |