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 (BlueprintType )
struct FStateTreeExecutionFrame
Remarks
Describes an active branch of a State Tree.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FStateTreeIndex16 | ActiveInstanceIndexBase | Index within the instance data to the first active state's instance data (e.g. tasks) | |
| FStateTreeActiveStates | ActiveStates | Active states in this frame | |
| uint8: 1 = false | bIsGlobalFrame | If true, the global tasks of the State Tree should be handle in this frame. | |
| FStateTreeIndex16 | ExternalDataBaseIndex | First index of the external data for this frame. | |
| FStateTreeIndex16 | GlobalInstanceIndexBase | Index within the instance data to the first global instance data (e.g. global tasks) | |
| FStateTreeDataHandle | GlobalParameterDataHandle | Handle to the global parameter data, exists in ParentFrame. | |
| uint8 | NumCurrentlyActiveStates | Number of states in ActiveStates which have instance data. | |
| FStateTreeStateHandle | RootState | The root state of the frame (e.g. Root state or a subtree). | |
| FStateTreeDataHandle | StateParameterDataHandle | Handle to the state parameter data, exists in ParentFrame. | |
| TObjectPtr< const UStateTree > | StateTree | The State Tree used for ticking this frame. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStateTreeExecutionFrame
(
const FRecordedStateTreeExecutionFrame& RecordedExecutionFrame |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsSameFrame
(
const FStateTreeExecutionFrame& OtherFrame |