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 | Expression of conditions that need to evaluate to true to allow transition to be triggered. | |
| float | DelayDuration | Transition delay duration in seconds. | |
| float | DelayRandomVariance | Transition delay random variance in seconds. | |
| FGuid | ID | ||
| EStateTreeTransitionPriority | Priority | Transition priority when multiple transitions happen at the same time. | |
| FStateTreeEventDesc | RequiredEvent | Defines the event required to be present during state selection for the transition to trigger. | |
| FStateTreeStateLink | State | Transition target state. | |
| EStateTreeTransitionTrigger | Trigger | When to try trigger the transition. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | Macro needed to avoid deprecation errors with members being copied or created. | ||
FStateTreeTransition
(
const FStateTreeTransition& |
|||
FStateTreeTransition
(
const EStateTreeTransitionTrigger InTrigger, |
|||
FStateTreeTransition
(
const EStateTreeTransitionTrigger InTrigger, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_ENABLE_DEPRECATION_WARNINGSTStateTreeEditorNode< T > & | AddCondition
(
TArgs&&... InArgs |
||
| FGuid | GetEventID () |
||
| void | PostSerialize
(
const FArchive& Ar |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FStateTreeTransition & | operator=
(
const FStateTreeTransition& |
||
| FStateTreeTransition & |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FGameplayTag | EventTag_DEPRECATED |