EConsumeMouseWheel

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

Choose your operating system:

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.