Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FViewportClient
- FViewportClient::InputGesture()
- FEditorViewportClient::InputGesture()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ViewportClient.h |
| Include | #include "ViewportClient.h" |
virtual bool InputGesture
&40;
FViewport &42; Viewport,
EGestureEvent GestureType,
const FVector2D & GestureDelta,
bool bIsDirectionInvertedFromDevice
&41;
Remarks
Check a gesture event received by the viewport. If the viewport client uses the event, it should return true to consume it. True to consume the gesture event, false to pass it on.
Parameters
| Name | Description |
|---|---|
| Viewport | The viewport which the event is from. |
| GestureType | |
| GestureDelta |