FScrollyZoomy::OnMouseWheel

Should be called by your widget when the mouse wheel is used

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Layout/ScrollyZoomy.h

Include

#include "Framework/Layout/ScrollyZoomy.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Layout/ScrollyZoomy.cpp

Syntax

FReply OnMouseWheel
(
    const FPointerEvent & MouseEvent,
    IScrollableZoomable & ScrollableZoomable
)

Remarks

Should be called by your widget when the mouse wheel is used

Returns

If FReply::Handled is returned, that should be passed as the result of the calling function.

Parameters

Parameter

Description

MouseEvent

The event passed to your widget's OnMouseWheel function.

ScrollableZoomable

Interface to the widget to scroll/zoom.

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