EConsumeMouseWheel

Used to determine how we should handle mouse wheel input events when someone scrolls.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h

Include

#include "Styling/SlateTypes.h"

Syntax

enum EConsumeMouseWheel
{
    WhenScrollingPossible,
    Always,
    Never,
}

Values

Name

Description

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

Remarks

Used to determine how we should handle mouse wheel input events when someone scrolls.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss