Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionTypes.h |
| Include | #include "StateTreeExecutionTypes.h" |
Syntax
USTRUCT&40;&41;
struct FStateTreeExecutionState
Variables
| Type | Name | Description | |
|---|---|---|---|
| FStateTreeActiveStates | ActiveStates | Currently active states | |
| FStateTreeStateHandle | CompletedStateHandle | Handle of the state that was first to report state completed (success or failure), used to trigger completion transitions. | |
| TArray< FStateTreeTransitionDelayedState > | DelayedTransitions | Running time of the delayed transition | |
| FStateTreeIndex16 | EnterStateFailedTaskIndex | The index of the task that failed during enter state. | |
| FStateTreeIndex16 | FirstTaskObjectIndex | Index of the first task object in the currently initialized instance data. | |
| FStateTreeIndex16 | FirstTaskStructIndex | Index of the first task struct in the currently initialized instance data. | |
| EStateTreeRunStatus | LastTickStatus | Result of last tick | |
| uint16 | StateChangeCount | Number of times a new state has been changed. | |
| EStateTreeRunStatus | TreeRunStatus | Running status of the instance |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FStateTreeTransitionDelayedState * | FindDelayedTransition
(
const FStateTreeIndex16 TransitionIndex |