engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 所有成员列表
FCarouselDisplayItem结构体 参考

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

成员函数说明

◆ BlendWidget()

bool FCarouselDisplayItem::BlendWidget ( const float &  DeltaTime,
const float &  DesiredValue,
const float &  Speed,
float &  OutCurrentValue 
)
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.
返回
True if still blending, false otherwise

◆ GetSFXWidget()

TSharedPtr< SFxWidget > FCarouselDisplayItem::GetSFXWidget ( )
inline

Get the FX widget to display.

返回
The FX widget.

◆ GetSlide()

FVector2D FCarouselDisplayItem::GetSlide ( ) const
inlineprotected

Get the slide position - used by the FX widget to get its position.

返回
The slide position.

◆ PeakIn()

void FCarouselDisplayItem::PeakIn ( EWidgetCarouselScrollDirection::Type  ScrollDirection)
inline

Scroll out the widget.

参数
ScrollDirection- The scroll direction.

◆ ScrollIn()

void FCarouselDisplayItem::ScrollIn ( EWidgetCarouselScrollDirection::Type  ScrollDirection)
inline

Scroll in the widget.

@ScrollDirection The scroll direction.

◆ SetFadeRate()

void FCarouselDisplayItem::SetFadeRate ( float  DesiredFadeRate)
inline

Set the fade rate.

The widget fade in and out at this amount per frame.

参数
DesiredFadeRate- the desired fade value.

◆ SetMoveSpeed()

void FCarouselDisplayItem::SetMoveSpeed ( float  DesiredMoveSpeed)
inline

Set the desired move speed.

参数
DesiredMoveSpeed- the desired move speed.

◆ SetOpacity()

void FCarouselDisplayItem::SetOpacity ( float  InOpacity)
inline

Get the widget opacity.

参数
InOpacity- the desired opacity.

◆ SetSlide()

void FCarouselDisplayItem::SetSlide ( float  InSlide,
bool  bClearTransition = false 
)
inline

Set the slide position.

参数
InSlide- the desired slide position.
bClearTransition- Clear any transitions.

◆ SetSliderLeftLimit()

void FCarouselDisplayItem::SetSliderLeftLimit ( float  DesiredLeftLimit)
inline

Set the desired left limit.

The widget will go to this position when scrolling out and left.

参数
DesiredLeftLimit- the desired left limit.

◆ SetSliderOptimalPostion()

void FCarouselDisplayItem::SetSliderOptimalPostion ( float  DesiredOptimalSlideValue)
inline

Set the optimal slide position.

The widget will go to this position when in view.

参数
DesiredOptimalSlideValue- the desired optimal position.

◆ SetSliderRightLimit()

void FCarouselDisplayItem::SetSliderRightLimit ( float  DesiredRightLimit)
inline

Set the desired right limit.

The widget will go to this position when scrolling out and right.

参数
DesiredRightLimit- the desired right limit.

◆ SetWidgetContent()

void FCarouselDisplayItem::SetWidgetContent ( TSharedRef< SWidget >  InContent)
inline

Set the content of the widget to display.

参数
InContent- The widget to display.

◆ Tick()

void FCarouselDisplayItem::Tick ( float  DeltaTime)
inline

Tick the widget - animate the slide / fade.

参数
DeltaTime- The delta time.

该结构体的文档由以下文件生成: