Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering > API/Runtime/SlateCore/Rendering/ISlateViewport
- ISlateViewport::OnMouseWheel()
- FWebBrowserViewport::OnMouseWheel()
- FSceneViewport::OnMouseWheel()
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include | #include "Rendering/RenderingCommon.h" |
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 |