Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeExecutionContext
Describes a result of States Selection.
| Name | FSelectStateResult |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionContext.h |
| Include Path | #include "StateTreeExecutionContext.h" |
Syntax
struct FSelectStateResult : public UE::StateTree::ExecutionContext::ITemporaryStorage
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSelectStateResult() |
StateTreeExecutionContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSelectStateResult() |
StateTreeExecutionContext.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SelectedFrames | TArray< UE::StateTree::FActiveFrameID, TInlineAllocator< 4 > > | The selected frame ID. The frame can be in the current active list or in the TemporaryFrames list. | StateTreeExecutionContext.h | |
| SelectedStates | TArray< UE::StateTree::FActiveState > | The active states selected. They are in order from the root to the leaf. | StateTreeExecutionContext.h | |
| SelectionEvents | TArray< FSelectionEventWithID, TInlineAllocator< 2 > > | Events used during the state selection. | StateTreeExecutionContext.h | |
| TargetState | UE::StateTree::FActiveState | The requested target of the selection. | StateTreeExecutionContext.h | |
| TemporaryFrames | TArray< FStateTreeExecutionFrame, TInlineAllocator< 2 > > | New execution frame created during the state selection. | StateTreeExecutionContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStateTreeExecutionFrame * FindTemporaryFrame
(
UE::StateTree::FActiveFrameID FrameID |
StateTreeExecutionContext.h | ||
FStateTreeExecutionFrame & MakeAndAddTemporaryFrame
(
UE::StateTree::FActiveFrameID FrameID, |
FStateTreeExecutionContext::FSelectStateResult implementation | StateTreeExecutionContext.h | |
FStateTreeExecutionFrame & MakeAndAddTemporaryFrameWithNewRoot
(
UE::StateTree::FActiveFrameID FrameID, |
StateTreeExecutionContext.h |
Overridden from ITemporaryStorage
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FFrameAndParent GetExecutionFrame
(
UE::StateTree::FActiveFrameID ID |
StateTreeExecutionContext.h | ||
virtual UE::StateTree::FActiveState GetStateHandle
(
UE::StateTree::FActiveStateID ID |
StateTreeExecutionContext.h |