Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Slate > API/Runtime/Engine/Slate/FSceneViewport
- ISlateViewport::OnMouseWheel()
- FSceneViewport::OnMouseWheel()
References
| Module | Engine |
| 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
&40;
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| MyGeometry | Information about the location and size of the viewport |
| MouseEvent | Information about the mouse event |