Navigation
API > API/Plugins > API/Plugins/CommonUI
Determines the switcher's behavior if the target of a transition is removed before it becomes the active widget.
| Name | ECommonSwitcherTransitionFallbackStrategy |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/Slate/SCommonAnimatedSwitcher.h |
| Include Path | #include "Slate/SCommonAnimatedSwitcher.h" |
Syntax
enum ECommonSwitcherTransitionFallbackStrategy
{
None,
Previous,
Next,
First,
Last,
}
Values
| Name | Remarks |
|---|---|
| None | Transition fallbacks are disabled and no special handling will occur if a transitioning widget is removed. |
| Previous | Fall back to the nearest valid slot at a lower index than the original target, or the first slot if there are none lower |
| Next | Fall back to the nearest valid slot at a higher index than the original target, or the last slot if there are none higher |
| First | Fall back to the first item in the switcher |
| Last | Fall back to the last item in the switcher |