FSlateApplication::RouteMouseWheelOrGestureEvent

Directly routes a pointer mouse wheel or gesture event to the widgets in the specified widget path.

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

FReply RouteMouseWheelOrGestureEvent
(
    const FWidgetPath & WidgetsUnderPointer,
    const FPointerEvent & InWheelEvent,
    const FPointerEvent * InGestureEvent
)

Remarks

Directly routes a pointer mouse wheel or gesture event to the widgets in the specified widget path.

Parameters

Parameter

Description

WidgetsUnderPointer

The path of widgets the event is routed to.

InWheelEvent

The event data that is is routed to the widget path

InGestureEvent

The event data that is is routed to the widget path

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