Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Layout
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Layout/Overscroll.h |
| Include | #include "Framework/Layout/Overscroll.h" |
Syntax
struct FOverscroll
Remarks
Handles overscroll management.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOverscroll () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetOverscroll
(
const FGeometry& AllottedGeometry |
How far the user scrolled above/below the beginning/end of the list. | |
| void | Resets the overscroll amout. | ||
| float | |||
| bool | ShouldApplyOverscroll
(
const bool bIsAtStartOfList, |
Should ScrollDelta be applied to overscroll or to regular item scrolling. | |
| void | UpdateOverscroll
(
float InDeltaTime |
Ticks the overscroll manager so it can animate. |
Constants
| Name | Description |
|---|---|
| Looseness | The amount to scale the logarithm by to make it more loose |
| OvershootBounceRate | The bounce back rate when the overscroll stops. |
| OvershootLooseMax | The "max" used to perform the interpolation snap back, and make it faster the further away it is. |