The Carousel display widget that gets animated by the carousel widget 更多...
#include <SWidgetCarousel.h>
类 FCarouselDisplayItem 继承关系图:Public 成员函数 | |
| bool | BlendWidget (const float &DeltaTime, const float &DesiredValue, const float &Speed, float &OutCurrentValue) |
| Blend the widget fade / transform to the desired value. 更多... | |
| FCarouselDisplayItem () | |
| Construct the display widget. | |
| TSharedPtr< SFxWidget > | GetSFXWidget () |
| Get the FX widget to display. 更多... | |
| void | PeakIn (EWidgetCarouselScrollDirection::Type ScrollDirection) |
| Scroll out the widget. 更多... | |
| void | ScrollIn (EWidgetCarouselScrollDirection::Type ScrollDirection) |
| Scroll in the widget. 更多... | |
| void | SetFadeRate (float DesiredFadeRate) |
| Set the fade rate. 更多... | |
| void | SetMoveSpeed (float DesiredMoveSpeed) |
| Set the desired move speed. 更多... | |
| void | SetOpacity (float InOpacity) |
| Get the widget opacity. 更多... | |
| void | SetSlide (float InSlide, bool bClearTransition=false) |
| Set the slide position. 更多... | |
| void | SetSliderLeftLimit (float DesiredLeftLimit) |
| Set the desired left limit. 更多... | |
| void | SetSliderOptimalPostion (float DesiredOptimalSlideValue) |
| Set the optimal slide position. 更多... | |
| void | SetSliderRightLimit (float DesiredRightLimit) |
| Set the desired right limit. 更多... | |
| void | SetWidgetContent (TSharedRef< SWidget > InContent) |
| Set the content of the widget to display. 更多... | |
| void | Tick (float DeltaTime) |
| Tick the widget - animate the slide / fade. 更多... | |
Public 成员函数 继承自 TSharedFromThis< FCarouselDisplayItem > | |
| TSharedRef< FCarouselDisplayItem, Mode > | AsShared () |
| Provides access to a shared reference to this object. 更多... | |
| TSharedRef< FCarouselDisplayItem const, Mode > | AsShared () const |
| Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多... | |
| FORCEINLINE bool | DoesSharedInstanceExist () const |
| Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多... | |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const |
| INTERNAL USE ONLY – Do not call this method. 更多... | |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const |
| INTERNAL USE ONLY – Do not call this method. 更多... | |
Protected 成员函数 | |
| FVector2D | GetSlide () const |
| Get the slide position - used by the FX widget to get its position. 更多... | |
Protected 成员函数 继承自 TSharedFromThis< FCarouselDisplayItem > | |
| FORCEINLINE TSharedFromThis & | operator= (TSharedFromThis const &) |
| Hidden stub assignment operator | |
| TSharedFromThis () | |
| Hidden stub constructor | |
| TSharedFromThis (TSharedFromThis const &) | |
| Hidden stub copy constructor | |
| ~TSharedFromThis () | |
| Hidden destructor | |
额外继承的成员函数 | |
静态 Protected 成员函数 继承自 TSharedFromThis< FCarouselDisplayItem > | |
| static FORCEINLINE TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
| Provides access to a shared reference to an object, given the object's 'this' pointer. 更多... | |
| static FORCEINLINE TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| Provides access to a shared reference to an object, given the object's 'this' pointer. 更多... | |
The Carousel display widget that gets animated by the carousel widget
|
inline |
Blend the widget fade / transform to the desired value.
| DeltaTime | - The delta time. |
| DesiredValue | - The desired value. |
| Speed | - Speed to transform. |
| OutCurrentValue | - The value to set. |
|
inline |
Get the FX widget to display.
|
inlineprotected |
Get the slide position - used by the FX widget to get its position.
|
inline |
Scroll out the widget.
| ScrollDirection | - The scroll direction. |
|
inline |
Scroll in the widget.
@ScrollDirection The scroll direction.
|
inline |
Set the fade rate.
The widget fade in and out at this amount per frame.
| DesiredFadeRate | - the desired fade value. |
|
inline |
Set the desired move speed.
| DesiredMoveSpeed | - the desired move speed. |
|
inline |
Get the widget opacity.
| InOpacity | - the desired opacity. |
|
inline |
Set the slide position.
| InSlide | - the desired slide position. |
| bClearTransition | - Clear any transitions. |
|
inline |
Set the desired left limit.
The widget will go to this position when scrolling out and left.
| DesiredLeftLimit | - the desired left limit. |
|
inline |
Set the optimal slide position.
The widget will go to this position when in view.
| DesiredOptimalSlideValue | - the desired optimal position. |
|
inline |
Set the desired right limit.
The widget will go to this position when scrolling out and right.
| DesiredRightLimit | - the desired right limit. |
|
inline |
Set the content of the widget to display.
| InContent | - The widget to display. |
|
inline |
Tick the widget - animate the slide / fade.
| DeltaTime | - The delta time. |