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 ()
struct FRecordedStateTreeTransitionResult
Remarks
Captured state tree transition result that can be cached for recording purposes. Primarily, when transitions are recorded through this structure, we can replicate them down to clients to keep our state tree in sync.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FStateTreeEvent > | NextActiveFrameEvents | Captured events from the transition that we've recorded | |
| TArray< FRecordedStateTreeExecutionFrame > | NextActiveFrames | States selected as result of the transition. | |
| EStateTreeTransitionPriority | Priority | Priority of the transition that caused the state change. | |
| FStateTreeStateHandle | SourceRootState | Root state the execution frame where the transition was requested. | |
| FStateTreeStateHandle | SourceState | Transition source state. | |
| TObjectPtr< const UStateTree > | SourceStateTree | StateTree asset that was active when the transition was requested. | |
| FStateTreeStateHandle | TargetState | Transition target state. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRecordedStateTreeTransitionResult
(
const FStateTreeTransitionResult& Transition |