Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTypes.h |
| Include | #include "StateTreeTypes.h" |
Syntax
USTRUCT&40;&41;
struct FCompactStateTreeState
Remarks
Runtime representation of a StateTree state.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bEnabled | True if the state is Enabled (i.e. not explicitly marked as disabled). | |
| uint8: 1 | bHasTransitionTasks | True if the state contains tasks that should be called during transition handling. | |
| uint16 | ChildrenBegin | Index to first child state | |
| uint16 | ChildrenEnd | Index one past the last child state. | |
| uint16 | EnterConditionsBegin | Index to first state enter condition | |
| uint8 | EnterConditionsNum | Number of enter conditions | |
| FStateTreeStateHandle | LinkedState | Linked state handle if the state type is linked state. | |
| FName | Name | Name of the State | |
| FStateTreeIndex16 | ParameterDataViewIndex | Data view index of the input parameters. | |
| FStateTreeIndex16 | ParameterInstanceIndex | Index to state instance data. | |
| FStateTreeStateHandle | Parent | Parent state handle, invalid if root state. | |
| EStateTreeStateSelectionBehavior | SelectionBehavior | What to do when the state is considered for selection. | |
| uint8 | TaskInstanceObjectNum | Number of tasks with object instance data. | |
| uint8 | TaskInstanceStructNum | Number of tasks with struct instance data. | |
| uint16 | TasksBegin | Index to first task | |
| uint8 | TasksNum | Number of tasks | |
| uint16 | TransitionsBegin | Index to first transition | |
| uint8 | TransitionsNum | Number of transitions | |
| EStateTreeStateType | Type | Type of the state |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint16 | |||
| bool | HasChildren () |