unreal.StateTreeStateChangeType

class unreal.StateTreeStateChangeType

Bases: EnumBase

State change type. Passed to EnterState() and ExitState() to indicate how the state change affects the state and Evaluator or Task is on.

C++ Source:

  • Plugin: StateTree

  • Module: StateTreeModule

  • File: StateTreeTypes.h

CHANGED: StateTreeStateChangeType

The state became activated or deactivated.

Type:

1

NONE: StateTreeStateChangeType

Not an activation

Type:

0

SUSTAINED: StateTreeStateChangeType

The state is parent of new active state and sustained previous active state.

Type:

2