![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateScrollHelper.h>
Public Member Functions | |
| FScrollHelper () | |
| const FVector2D & | GetPosition () const |
| void | SetPosition (const FVector2D &InNewPosition) |
| FVector2D | ToScrollerSpace (const FVector2D &InVec) const |
| FVector2D | FromScrollerSpace (const FVector2D &InVec) const |
| FVector2D | SizeToScrollerSpace (const FVector2D &InVec) const |
| FVector2D | SizeFromScrollerSpace (const FVector2D &InVec) const |
Utility class to handle scrolling
|
inline |
Constructor
Converts a coordinate back from the scrollable area's space
| InVec | Position to convert from the scrollable area's space |
|
inline |
Returns the current position
Sets the scrolled position
Converts a size back from the scrollable area's space
| InVec | Size to convert from the scrollable area's space |
Converts a size to the scrollable area's space
| InVec | Size to convert to the scrollable area's space |
Converts a coordinate to the scrollable area's space
| InVec | Position to convert to the scrollable area's space |