Utility class to handle scrolling 更多...
#include <SlateScrollHelper.h>
Public 成员函数 | |
| FVector2D | FromScrollerSpace (const FVector2D &InVec) const |
| Converts a coordinate back from the scrollable area's space 更多... | |
| FScrollHelper () | |
| Constructor | |
| const FVector2D & | GetPosition () const |
| Returns the current position 更多... | |
| void | SetPosition (const FVector2D &InNewPosition) |
| Sets the scrolled position | |
| FVector2D | SizeFromScrollerSpace (const FVector2D &InVec) const |
| Converts a size back from the scrollable area's space 更多... | |
| FVector2D | SizeToScrollerSpace (const FVector2D &InVec) const |
| Converts a size to the scrollable area's space 更多... | |
| FVector2D | ToScrollerSpace (const FVector2D &InVec) const |
| Converts a coordinate to the scrollable area's space 更多... | |
Utility class to handle scrolling
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
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 |