Choose your operating system:
Windows
macOS
Linux
| ISlateViewport::OnMouseWheel()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h |
Include |
#include "Slate/SceneViewport.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp |
virtual FReply OnMouseWheel
(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
)
Called by Slate when the mouse wheel is used inside the viewport
Whether the event was handled along with possible requests for the system to take action.
Parameter |
Description |
---|---|
MyGeometry |
Information about the location and size of the viewport |
MouseEvent |
Information about the mouse event |