unreal.StateTreeStateSelectionBehavior

class unreal.StateTreeStateSelectionBehavior

Bases: EnumBase

EState Tree State Selection Behavior

C++ Source:

  • Plugin: StateTree

  • Module: StateTreeModule

  • File: StateTreeTypes.h

NONE: StateTreeStateSelectionBehavior

The State cannot be directly selected.

Type:

0

TRY_ENTER_STATE: StateTreeStateSelectionBehavior

When state is considered for selection, it is selected even if it has child states.

Type:

1

TRY_FOLLOW_TRANSITIONS: StateTreeStateSelectionBehavior

When state is considered for selection, try to trigger the transitions instead.

Type:

3

TRY_SELECT_CHILDREN_IN_ORDER: StateTreeStateSelectionBehavior

When state is considered for selection, try to selects the first child state (in order they appear in the child list). If no child states are present, behaves like SelectState.

Type:

2