Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule > API/Plugins/StateTreeEditorModule/FStateTreeCompiler
Description
Resolves the state a transition points to, and the optional fallback for failing to enter the state. SourceState is nullptr for global tasks.
| Name | ResolveTransitionStateAndFallback |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeCompiler.h |
| Include Path | #include "StateTreeCompiler.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Private/StateTreeCompiler.cpp |
bool ResolveTransitionStateAndFallback
(
const UStateTreeState * SourceState,
const FStateTreeStateLink & Link,
FStateTreeStateHandle & OutTransitionHandle,
EStateTreeSelectionFallback & OutFallback
) const