Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule
Editor representation of a transition in StateTree
| Name | FStateTreeTransition |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeState.h |
| Include Path | #include "StateTreeState.h" |
Syntax
USTRUCT ()
struct FStateTreeTransition
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PRAGMA_DISABLE_DEPRECATION_WARNINGS FStateTreeTransition () |
Macro needed to avoid deprecation errors with members being copied or created. | StateTreeState.h | |
FStateTreeTransition
(
const FStateTreeTransition& |
StateTreeState.h | ||
| StateTreeState.h | |||
FStateTreeTransition
(
const EStateTreeTransitionTrigger InTrigger, |
StateTreeState.h | ||
FStateTreeTransition
(
const EStateTreeTransitionTrigger InTrigger, |
StateTreeState.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDelayTransition | bool | Delay the triggering of the transition. | StateTreeState.h |
|
| bTransitionEnabled | bool | True if the Transition is Enabled (i.e. not explicitly disabled in the asset). | StateTreeState.h |
|
| Conditions | TArray< FStateTreeEditorNode > | Expression of conditions that need to evaluate to true to allow transition to be triggered. | StateTreeState.h |
|
| DelayDuration | float | Transition delay duration in seconds. | StateTreeState.h |
|
| DelayRandomVariance | float | Transition delay random variance in seconds. | StateTreeState.h |
|
| DelegateListener | FStateTreeTransitionDelegateListener | Listener to the selected delegate dispatcher. | StateTreeState.h |
|
| ID | FGuid | StateTreeState.h |
|
|
| Priority | EStateTreeTransitionPriority | Transition priority when multiple transitions happen at the same time. | StateTreeState.h |
|
| RequiredEvent | FStateTreeEventDesc | Defines the event required to be present during state selection for the transition to trigger. | StateTreeState.h |
|
| State | FStateTreeStateLink | Transition target state. | StateTreeState.h |
|
| Trigger | EStateTreeTransitionTrigger | When to try trigger the transition. | StateTreeState.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TStateTreeEditorNode< T > & AddCondition
(
TArgs&&... InArgs |
StateTreeState.h | ||
FGuid GetEventID() |
StateTreeState.h | ||
void PostSerialize
(
const FArchive& Ar |
StateTreeState.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStateTreeTransition & operator=
(
const FStateTreeTransition& |
StateTreeState.h | ||
| StateTreeState.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EventTag_DEPRECATED | FGameplayTag | StateTreeState.h |