Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Describes an active branch of a State Tree.
| Name | FStateTreeExecutionFrame |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionTypes.h |
| Include Path | #include "StateTreeExecutionTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FStateTreeExecutionFrame
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| StateTreeExecutionTypes.h | |||
FStateTreeExecutionFrame
(
const FRecordedStateTreeExecutionFrame& RecordedExecutionFrame |
StateTreeExecutionTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveInstanceIndexBase | FStateTreeIndex16 | Index within the instance data to the first active state's instance data (e.g. tasks) | StateTreeExecutionTypes.h | |
| ActiveStates | FStateTreeActiveStates | Active states in this frame | StateTreeExecutionTypes.h | |
| ActiveTasksStatus | FStateTreeTasksCompletionStatus | Flag to track the completion of a global task or a task from a state in the ActiveStates. | StateTreeExecutionTypes.h |
|
| bIsGlobalFrame | uint8 | If true, the global tasks of the State Tree should be handle in this frame. | StateTreeExecutionTypes.h | |
| ExternalDataBaseIndex | FStateTreeIndex16 | First index of the external data for this frame. | StateTreeExecutionTypes.h | |
| FrameID | UE::StateTree::FActiveFrameID | Unique frame id for this frame. Can be used to identify the frame. | StateTreeExecutionTypes.h | |
| GlobalInstanceIndexBase | FStateTreeIndex16 | Index within the instance data to the first global instance data (e.g. global tasks) | StateTreeExecutionTypes.h | |
| GlobalParameterDataHandle | FStateTreeDataHandle | Handle to the global parameter data, exists in ParentFrame. | StateTreeExecutionTypes.h | |
| NumCurrentlyActiveStates | uint8 | Number of states in ActiveStates which have instance data. | StateTreeExecutionTypes.h | |
| RootState | FStateTreeStateHandle | The root state of the frame (e.g. Root state or a subtree). | StateTreeExecutionTypes.h | |
| StateParameterDataHandle | FStateTreeDataHandle | Handle to the state parameter data, exists in ParentFrame. | StateTreeExecutionTypes.h | |
| StateTree | TObjectPtr< const UStateTree > | The State Tree used for ticking this frame. | StateTreeExecutionTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsSameFrame
(
const FStateTreeExecutionFrame& OtherFrame |
StateTreeExecutionTypes.h |