Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule
References
| Module | StateTreeEditorModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeState.h |
| Include | #include "StateTreeState.h" |
Syntax
USTRUCT ()
struct FStateTreeTransition
Remarks
Editor representation of a transition in StateTree
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDelayTransition | Delay the triggering of the transition. | |
| bool | bTransitionEnabled | True if the Transition is Enabled (i.e. not explicitly disabled in the asset). | |
| TArray< FStateTreeEditorNode > | Conditions | Conditions that must pass so that the transition can be triggered. | |
| float | DelayDuration | Transition delay duration in seconds. | |
| float | DelayRandomVariance | Transition delay random variance in seconds. | |
| FGameplayTag | EventTag | Tag of the State Tree event that triggers the transition. | |
| FGuid | ID | ||
| EStateTreeTransitionPriority | Priority | Transition priority when multiple transitions happen at the same time. | |
| FStateTreeStateLink | State | Transition target state. | |
| EStateTreeTransitionTrigger | Trigger | When to try trigger the transition. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStateTreeTransition
(
const EStateTreeTransitionTrigger InTrigger, |
|||
FStateTreeTransition
(
const EStateTreeTransitionTrigger InTrigger, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TStateTreeEditorNode< T > & | AddCondition
(
TArgs&&... InArgs |