Navigation
API > API/Plugins > API/Plugins/CommonUI
| Name | SCommonAnimatedSwitcher |
| Type | class |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/Slate/SCommonAnimatedSwitcher.h |
| Include Path | #include "Slate/SCommonAnimatedSwitcher.h" |
Syntax
class SCommonAnimatedSwitcher : public SWidgetSwitcher
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → SWidgetSwitcher → SCommonAnimatedSwitcher
- FSlateControlledConstruction → SWidget → SPanel → SWidgetSwitcher → SCommonAnimatedSwitcher
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnActiveIndexChanged | TBaseDelegate_OneParam< void, int32 > | Slate/SCommonAnimatedSwitcher.h | |
| FOnIsTransitioningChanged | TBaseDelegate_OneParam< void, bool > | Slate/SCommonAnimatedSwitcher.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsTransitionTimerRegistered | bool | Slate/SCommonAnimatedSwitcher.h | ||
| bTransitioningOut | bool | If true, we are transitioning content out and need to play the sequence again to transition it in | Slate/SCommonAnimatedSwitcher.h | |
| OnActiveIndexChanged | FOnActiveIndexChanged | Slate/SCommonAnimatedSwitcher.h | ||
| OnIsTransitioningChanged | FOnIsTransitioningChanged | Slate/SCommonAnimatedSwitcher.h | ||
| PendingActiveWidget | TWeakPtr< SWidget > | The pending active widget, set when the initial transition out completes. | Slate/SCommonAnimatedSwitcher.h | |
| PendingActiveWidgetIndex | int32 | Tracks the index of PendingActiveWidget, if there is one. | Slate/SCommonAnimatedSwitcher.h | |
| TransitionFallbackStrategy | ECommonSwitcherTransitionFallbackStrategy | Controls how we will choose another widget if a transitioning widget is removed during the transition. | Slate/SCommonAnimatedSwitcher.h | |
| TransitionSequence | FCurveSequence | Anim sequence for the transition; plays twice per transition | Slate/SCommonAnimatedSwitcher.h | |
| TransitionType | ECommonSwitcherTransition | Slate/SCommonAnimatedSwitcher.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Slate/SCommonAnimatedSwitcher.h | ||
FSlot * GetChildSlot
(
int32 SlotIndex |
Slate/SCommonAnimatedSwitcher.h | ||
| Slate/SCommonAnimatedSwitcher.h | |||
int32 GetPendingActiveWidgetIndex() |
Slate/SCommonAnimatedSwitcher.h | ||
ECommonSwitcherTransitionFallbackStrategy GetTransitionFallbackStrategy() |
Slate/SCommonAnimatedSwitcher.h | ||
bool IsTransitionFallbackEnabled() |
Slate/SCommonAnimatedSwitcher.h | ||
bool IsTransitionPlaying() |
Slate/SCommonAnimatedSwitcher.h | ||
void SetTransition
(
float Duration, |
Slate/SCommonAnimatedSwitcher.h | ||
void SetTransition
(
float Duration, |
Slate/SCommonAnimatedSwitcher.h | ||
void SetTransitionFallbackStrategy
(
const ECommonSwitcherTransitionFallbackStrategy InStrategy |
Slate/SCommonAnimatedSwitcher.h | ||
void SetTransitionType
(
ECommonSwitcherTransition NewTransitionType |
Slate/SCommonAnimatedSwitcher.h | ||
void TransitionToIndex
(
int32 NewWidgetIndex, |
Slate/SCommonAnimatedSwitcher.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Slate/SCommonAnimatedSwitcher.h |
Protected
Overridden from SWidgetSwitcher
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnSlotAdded
(
int32 AddedIndex |
Slate/SCommonAnimatedSwitcher.h | ||
virtual void OnSlotRemoved
(
int32 RemovedIndex, |
Slate/SCommonAnimatedSwitcher.h |