Navigation
API > API/Runtime > API/Runtime/SlateCore
Used to determine how we should handle mouse wheel input events when someone scrolls.
| Name | EConsumeMouseWheel |
| Type | enum |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include Path | #include "Styling/SlateTypes.h" |
Syntax
enum EConsumeMouseWheel
{
WhenScrollingPossible,
Always,
Never,
}
Values
| Name | Remarks |
|---|---|
| WhenScrollingPossible | Only consume the mouse wheel event when we actually scroll some amount. |
| Always | Always consume mouse wheel event even if we don't scroll at all. |
| Never | Never consume the mouse wheel |