FScrollyZoomy::OnMouseMove

Should be called when a mouse move event occurs.

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 OnMouseMove
(
    const TSharedRef< SWidget > MyWidget,
    IScrollableZoomable & ScrollableZoomable,
    const FGeometry & MyGeometry,
    const FPointerEvent & MouseEvent
)

Remarks

Should be called when a mouse move event occurs.

Returns

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

Parameters

Parameter

Description

MyWidget

Pointer to the widget that owns this object.

ScrollableZoomable

Interface to the widget to scroll/zoom.

MyGeometry

Geometry of the widget we're scrolling.

MouseEvent

The mouse event passed to a widget's OnMouseMove function.

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