FScrollHelper

Utility class to handle scrolling

Windows
MacOS
Linux

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

Name Description

Public function

FScrollHelper()

Constructor

Functions

Name Description

Public function Const

FVector2D

 

FromScrollerSpace

(
    const FVector2D& InVec
)

Converts a coordinate back from the scrollable area's space

Public function Const

const FVecto...

 

GetPosition()

Returns the current position

Public function

void

 

SetPosition

(
    const FVector2D& InNewPosition
)

Sets the scrolled position

Public function Const

FVector2D

 

SizeFromScrollerSpace

(
    const FVector2D& InVec
)

Converts a size back from the scrollable area's space

Public function Const

FVector2D

 

SizeToScrollerSpace

(
    const FVector2D& InVec
)

Converts a size to the scrollable area's space

Public function Const

FVector2D

 

ToScrollerSpace

(
    const FVector2D& InVec
)

Converts a coordinate to the scrollable area's space

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss