FViewportClient::InputGesture

Check a gesture event received by the viewport.

Windows
MacOS
Linux

Override Hierarchy

FViewportClient::InputGesture()

FEditorViewportClient::InputGesture()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealClient.h

Include

#include "UnrealClient.h"

Syntax

virtual bool InputGesture
(
    FViewport * Viewport,
    EGestureEvent GestureType,
    const FVector2D & GestureDelta,
    bool bIsDirectionInvertedFromDevice
)

Remarks

Check a gesture event received by the viewport. If the viewport client uses the event, it should return true to consume it.

Returns

True to consume the gesture event, false to pass it on.

Parameters

Parameter

Description

Viewport

The viewport which the event is from.

GestureType

GestureDelta

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss