FSlateApplication::ProcessMouseWheelOrGestureEvent

Called by the native application in response to a mouse wheel spin or a touch gesture.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

bool ProcessMouseWheelOrGestureEvent
(
    const FPointerEvent & InWheelEvent,
    const FPointerEvent * InGestureEvent
)

Remarks

Called by the native application in response to a mouse wheel spin or a touch gesture. Routs the event to Slate Widgets.

Returns

Was this event handled by the Slate application?

Parameters

Parameter

Description

InWheelEvent

Mouse wheel event details

InGestureEvent

Optional gesture event details

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