unreal.CommonSwitcherTransitionFallbackStrategy

class unreal.CommonSwitcherTransitionFallbackStrategy

Bases: EnumBase

Determines the switcher’s behavior if the target of a transition is removed before it becomes the active widget.

C++ Source:

  • Plugin: CommonUI

  • Module: CommonUI

  • File: SCommonAnimatedSwitcher.h

FIRST: CommonSwitcherTransitionFallbackStrategy

Fall back to the first item in the switcher

Type:

3

LAST: CommonSwitcherTransitionFallbackStrategy

Fall back to the last item in the switcher

Type:

4

NEXT: CommonSwitcherTransitionFallbackStrategy

Fall back to the nearest valid slot at a higher index than the original target, or the last slot if there are none higher

Type:

2

NONE: CommonSwitcherTransitionFallbackStrategy

Transition fallbacks are disabled and no special handling will occur if a transitioning widget is removed.

Type:

0

PREVIOUS: CommonSwitcherTransitionFallbackStrategy

Fall back to the nearest valid slot at a lower index than the original target, or the first slot if there are none lower

Type:

1