FOverscroll::ShouldApplyOverscroll

Should ScrollDelta be applied to overscroll or to regular item scrolling.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Layout/Overscroll.h

Include

#include "Framework/Layout/Overscroll.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Layout/Overscroll.cpp

Syntax

bool ShouldApplyOverscroll
(
    const bool bIsAtStartOfList,
    const bool bIsAtEndOfList,
    const float ScrollDelta
) const

Remarks

Should ScrollDelta be applied to overscroll or to regular item scrolling.

Returns

true if the user's scrolling should be applied toward overscroll.

Parameters

Parameter

Description

bIsAtStartOfList

Are we at the very beginning of the list (i.e. showing the first item at the top of the view)?

bIsAtEndOfList

Are we showing the last item on the screen completely?

ScrollDelta

How much the user is trying to scroll in Slate Units.

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