engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FScrollHelper类 参考

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

成员函数说明

◆ FromScrollerSpace()

FVector2D FScrollHelper::FromScrollerSpace ( const FVector2D &  InVec) const
inline

Converts a coordinate back from the scrollable area's space

参数
InVecPosition to convert from the scrollable area's space
返回
Returns the position transformed back from the scrollable area's space

◆ GetPosition()

const FVector2D & FScrollHelper::GetPosition ( ) const
inline

Returns the current position

返回
Current position

◆ SizeFromScrollerSpace()

FVector2D FScrollHelper::SizeFromScrollerSpace ( const FVector2D &  InVec) const
inline

Converts a size back from the scrollable area's space

参数
InVecSize to convert from the scrollable area's space
返回
Returns the size transformed back from the scrollable area's space

◆ SizeToScrollerSpace()

FVector2D FScrollHelper::SizeToScrollerSpace ( const FVector2D &  InVec) const
inline

Converts a size to the scrollable area's space

参数
InVecSize to convert to the scrollable area's space
返回
Returns the size transformed to the scrollable area's space

◆ ToScrollerSpace()

FVector2D FScrollHelper::ToScrollerSpace ( const FVector2D &  InVec) const
inline

Converts a coordinate to the scrollable area's space

参数
InVecPosition to convert to the scrollable area's space
返回
Returns the position transformed to the scrollable area's space

该类的文档由以下文件生成: