| FSlateControlledConstruction | ||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/WidgetCarousel/Public/SWidgetCarousel.h |
Include |
#include "SWidgetCarousel.h" |
template<typename ItemType>
class SWidgetCarousel : public SCompoundWidget
Implements a widget Carousel.
A widget Carousel displays widgets that can be scrolled in and out.
Name | Description | ||
---|---|---|---|
|
TSharedPtr< FCa... |
CenterCarouselWidget |
|
|
float |
FadeRate |
The fade rate. |
|
const TArray< I... |
ItemsSource |
Pointer to the array of data items that we are observing. |
|
TSharedPtr< FCa... |
LeftCarouselWidget |
Holds the CarouselWidgets. |
|
float |
MoveSpeed |
Holds the move speed. |
|
OnGenerateWidget |
Hold the delegate to be invoked when a widget changes. |
|
|
OnPageChanged |
Hold the delegate to be invoked when the current page changes. |
|
|
float |
PeakValueLeftLimit |
Holds The peak left limit. |
|
float |
PeakValueRightLimit |
The peak right limit. |
|
TSharedPtr< FCa... |
RightCarouselWidget |
|
|
float |
SlideValueLeftLimit |
Holds The left limit. |
|
float |
SlideValueRightLimit |
The right limit. |
|
TSharedPtr< SHo... |
WidgetDisplayBox |
Holds the widget display box. |
|
WidgetIndex |
Holds the visible widget index. |
Name | Description | ||
---|---|---|---|
|
Construct ( |
Constructs the widget. |
|
|
GenerateCurrentWidgets() |
||
|
GenerateWidgets() |
Regenerate the widgets to display them. |
|
|
GetLeftWidgetIndex ( |
||
|
float |
GetPrimarySlide() |
|
|
GetRightWidgetIndex ( |
||
|
GetWidgetIndex() |
Get the current widget index. |
|
|
IsInTransition() |
||
|
Peak |
||
|
EActiveTimer... |
RegisteredTick ( |
|
|
SetActiveWidgetIndex ( |
Sets the active widget to display at the specified index. |
|
|
SetItemSource ( |
Set the item source, and scroll to the first item. |
|
|
SetNextWidget() |
Scroll right. |
|
|
SetPreviousWidget() |
Scroll left. |
|
|
SetSliderLimits() |
||
|
SwapBuffer ( |
Swap the buffer index. |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
FOnCarouselPageChanged |
|
FOnGenerateWidget |