Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FViewportClient
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool InputGesture
(
FViewport* Viewport, |
Check a gesture event received by the viewport. | ViewportClient.h | |
virtual bool InputGesture
(
FViewport* Viewport, |
Check a gesture event received by the viewport. | ViewportClient.h |
InputGesture(FViewport *, EGestureEvent, const FVector2D &, bool)
Description
Check a gesture event received by the viewport. If the viewport client uses the event, it should return true to consume it.
| Name | InputGesture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ViewportClient.h |
| Include Path | #include "ViewportClient.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealClient.cpp |
virtual bool InputGesture
(
FViewport * Viewport,
EGestureEvent GestureType,
const FVector2D & GestureDelta,
bool bIsDirectionInvertedFromDevice
)
True to consume the gesture event, false to pass it on.
Parameters
| Name | Remarks |
|---|---|
| Viewport | The viewport which the event is from. |
| GestureType | |
| GestureDelta |
InputGesture(FViewport *, const FInputDeviceId, EGestureEvent, const FVector2D &, bool, const uint64)
Description
Check a gesture event received by the viewport. If the viewport client uses the event, it should return true to consume it.
| Name | InputGesture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ViewportClient.h |
| Include Path | #include "ViewportClient.h" |
virtual bool InputGesture
(
FViewport * Viewport,
const FInputDeviceId DeviceId,
EGestureEvent GestureType,
const FVector2D & GestureDelta,
bool bIsDirectionInvertedFromDevice,
const uint64 Timestamp
)
True to consume the gesture event, false to pass it on.
Parameters
| Name | Remarks |
|---|---|
| Viewport | The viewport which the event is from. |
| DeviceId | The input device id from which this gesture came from |
| GestureType | The type of gesture being input |
| GestureDelta | Delta values of this gesture from the previous instance of it |
| Timestamp | The timestamp of when this input event was originally polled in the form of CPU cycles. |