Handles overscroll management. 更多...
#include <Overscroll.h>
Public 成员函数 | |
| float | GetOverscroll (const FGeometry &AllottedGeometry) const |
| How far the user scrolled above/below the beginning/end of the list. | |
| void | ResetOverscroll () |
| Resets the overscroll amout. | |
| float | ScrollBy (const FGeometry &AllottedGeometry, float LocalDeltaScroll) |
| bool | ShouldApplyOverscroll (const bool bIsAtStartOfList, const bool bIsAtEndOfList, const float ScrollDelta) const |
| Should ScrollDelta be applied to overscroll or to regular item scrolling. 更多... | |
| void | UpdateOverscroll (float InDeltaTime) |
| Ticks the overscroll manager so it can animate. | |
Handles overscroll management.
| float FOverscroll::ScrollBy | ( | const FGeometry & | AllottedGeometry, |
| float | LocalDeltaScroll | ||
| ) |
| 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. |