Navigation
API > API/Runtime > API/Runtime/Slate
An interface to allow Slate Widgets to expose scrollable functionality.
| Name | IScrollableWidget |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Layout/IScrollableWidget.h |
| Include Path | #include "Framework/Layout/IScrollableWidget.h" |
Syntax
class IScrollableWidget
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IScrollableWidget() |
Framework/Layout/IScrollableWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2D GetScrollDistance() |
Gets the distance that user has scrolled into the control in normalized coordinates (0 - 1) | Framework/Layout/IScrollableWidget.h | |
FVector2D GetScrollDistanceRemaining() |
Gets the distance that user has left to scroll in the control before reaching the end in normalized coordinates (0 - 1) | Framework/Layout/IScrollableWidget.h | |
TSharedRef< class SWidget > GetScrollWidget() |
Returns the typed SWidget that implements this interface | Framework/Layout/IScrollableWidget.h |