| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/WidgetCarousel/Public/SWidgetCarousel.h |
Include |
#include "SWidgetCarousel.h" |
struct FCarouselDisplayItem : public TSharedFromThis< FCarouselDisplayItem >
The Carousel display widget that gets animated by the carousel widget
Name | Description | ||
---|---|---|---|
|
bFade |
Holds if the widget is fading in or out. |
|
|
bFadeInAndOut |
Holds if the widget should fade in or out. |
|
|
bPeak |
Hold if the widget is peaking. |
|
|
bTransition |
Holds if widget is in transition. |
|
|
float |
DesiredOpacityValue |
The desired opacity value. |
|
float |
DesiredSlideValue |
The desired slide value. |
|
float |
FadeRate |
The amount by which a widget fades per frame. |
|
TSharedPtr< SFx... |
FXWidget |
Holds the FX widget that does the transitioning. |
|
float |
MoveSpeed |
The maximum move speed of the widget. |
|
float |
OpacityValue |
Holds the Opacity Value. 0 == transparent. |
|
float |
OptimalSlideValue |
The slide value to display the widget on screen. |
|
float |
PeakDistance |
The Peak Distance. |
|
float |
PeakSpeed |
The Peak speed. |
|
float |
PeakValueLeftLimit |
The left peak position. |
|
float |
PeakValueRightLimit |
The right peak position. |
|
SlideInCurve |
Holds the peak curve. |
|
|
float |
SlideValue |
The slide position. |
|
float |
SlideValueLeftLimit |
The max left position. |
|
float |
SlideValueRightLimit |
The max right position. |
|
Visibility |
The current visibility of the display item. |
Name | Description | |
---|---|---|
|
FCarouselDisplayItem() |
Construct the display widget. |
Name | Description | ||
---|---|---|---|
|
BlendWidget ( |
Blend the widget fade / transform to the desired value. |
|
|
TSharedPtr< ... |
GetSFXWidget() |
FText GetPositionText() const { return FText::FromString, SlideValue, DesiredSlideValue, SlideInCurve.GetLerp())); } Get the FX widget to display. |
|
GetSlide() |
Get the slide position - used by the FX widget to get its position. |
|
|
const float |
GetSlideValue() |
|
|
IsInTransition() |
||
|
PeakIn |
Scroll out the widget. |
|
|
ScrollIn |
Scroll in the widget. The scroll direction. |
|
|
SetFadeRate ( |
Set the fade rate. The widget fade in and out at this amount per frame. |
|
|
SetMoveSpeed ( |
Set the desired move speed. |
|
|
SetOpacity ( |
Get the widget opacity. |
|
|
SetSlide ( |
Set the slide position. |
|
|
SetSliderLeftLimit ( |
Set the desired left limit. The widget will go to this position when scrolling out and left. |
|
|
SetSliderOptimalPostion ( |
Set the optimal slide position. The widget will go to this position when in view. |
|
|
SetSliderPeakLeftLimit ( |
||
|
SetSliderPeakRightLimit ( |
||
|
SetSliderRightLimit ( |
Set the desired right limit. The widget will go to this position when scrolling out and right. |
|
|
SetVisibility ( |
||
|
SetWidgetContent ( |
Set the content of the widget to display. |
|
|
Tick ( |
Tick the widget - animate the slide / fade. |