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/SlateScrollHelper.h |
| Include | #include "Framework/Layout/SlateScrollHelper.h" |
Syntax
class FScrollHelper
Remarks
Utility class to handle scrolling
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | FromScrollerSpace
(
const FVector2D& InVec |
Converts a coordinate back from the scrollable area's space | |
| const FVector2D & | GetPosition () |
Returns the current position | |
| void | SetPosition
(
const FVector2D& InNewPosition |
Sets the scrolled position | |
| FVector2D | SizeFromScrollerSpace
(
const FVector2D& InVec |
Converts a size back from the scrollable area's space | |
| FVector2D | SizeToScrollerSpace
(
const FVector2D& InVec |
Converts a size to the scrollable area's space | |
| FVector2D | ToScrollerSpace
(
const FVector2D& InVec |
Converts a coordinate to the scrollable area's space |