![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Overscroll.h>
Public Member Functions | |
| SLATE_API | FOverscroll () |
| SLATE_API float | ScrollBy (const FGeometry &AllottedGeometry, float LocalDeltaScroll) |
| SLATE_API float | GetOverscroll (const FGeometry &AllottedGeometry) const |
| SLATE_API void | UpdateOverscroll (float InDeltaTime) |
| SLATE_API bool | ShouldApplyOverscroll (const bool bIsAtStartOfList, const bool bIsAtEndOfList, const float ScrollDelta) const |
| SLATE_API void | ResetOverscroll () |
Static Public Attributes | |
| static SLATE_API float | Looseness |
| static SLATE_API float | OvershootLooseMax |
| static SLATE_API float | OvershootBounceRate |
Handles overscroll management.
| FOverscroll::FOverscroll | ( | ) |
How far the user scrolled above/below the beginning/end of the list.
| void FOverscroll::ResetOverscroll | ( | ) |
Resets the overscroll amout.
| bool FOverscroll::ShouldApplyOverscroll | ( | const bool | bIsAtStartOfList, |
| const bool | bIsAtEndOfList, | ||
| const float | ScrollDelta | ||
| ) | const |
Should ScrollDelta be applied to overscroll or to regular item scrolling.
| 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. |
Ticks the overscroll manager so it can animate.
|
static |
The amount to scale the logarithm by to make it more loose
|
static |
The bounce back rate when the overscroll stops.
|
static |
The "max" used to perform the interpolation snap back, and make it faster the further away it is.