SViewport::OnMouseWheel

Called when the mouse wheel is spun. This event is bubbled.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

SWidget::OnMouseWheel()

SViewport::OnMouseWheel()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h

Include

#include "Widgets/SViewport.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/SViewport.cpp

Syntax

virtual FReply OnMouseWheel
(
    const FGeometry & MyGeometry,
    const FPointerEvent & MouseEvent
)

Remarks

Called when the mouse wheel is spun. This event is bubbled.

Returns

Returns whether the event was handled, along with other possible actions

Parameters

Parameter

Description

MouseEvent

Mouse event