Navigation
API > API/Runtime > API/Runtime/Slate
Utility class to handle scrolling
| Name | FScrollHelper |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Layout/SlateScrollHelper.h |
| Include Path | #include "Framework/Layout/SlateScrollHelper.h" |
Syntax
class FScrollHelper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScrollHelper() |
Constructor | Framework/Layout/SlateScrollHelper.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Position | FVector2D | Current location offset | Framework/Layout/SlateScrollHelper.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2D FromScrollerSpace
(
const FVector2D& InVec |
Converts a coordinate back from the scrollable area's space | Framework/Layout/SlateScrollHelper.h | |
const FVector2D & GetPosition() |
Returns the current position | Framework/Layout/SlateScrollHelper.h | |
void SetPosition
(
const FVector2D& InNewPosition |
Sets the scrolled position | Framework/Layout/SlateScrollHelper.h | |
FVector2D SizeFromScrollerSpace
(
const FVector2D& InVec |
Converts a size back from the scrollable area's space | Framework/Layout/SlateScrollHelper.h | |
FVector2D SizeToScrollerSpace
(
const FVector2D& InVec |
Converts a size to the scrollable area's space | Framework/Layout/SlateScrollHelper.h | |
FVector2D ToScrollerSpace
(
const FVector2D& InVec |
Converts a coordinate to the scrollable area's space | Framework/Layout/SlateScrollHelper.h |