Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTypes.h |
| Include | #include "StateTreeTypes.h" |
Syntax
USTRUCT ()
struct FCompactStateTransition
Remarks
Runtime representation of a StateTree transition.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 = true | bConsumeEventOnSelect | If set to true, the required event is consumed (later state selection cannot react to it) if state selection can be made. | |
| uint8: 1 = true | bTransitionEnabled | Indicates if the transition is enabled and should be considered. | |
| uint16 | ConditionsBegin | Index to first condition to test | |
| uint8 | ConditionsNum | Number of conditions to test. | |
| FStateTreeRandomTimeDuration | Delay | Transition delay. | |
| EStateTreeSelectionFallback | Fallback | Fallback of the transition if it fails to select the target state | |
| EStateTreeTransitionPriority | Priority | Priority of the transition. | |
| FCompactEventDesc | RequiredEvent | Event Description | |
| FStateTreeStateHandle | State | Target state of the transition | |
| EStateTreeTransitionTrigger | Trigger | Type of the transition trigger. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | HasDelay () |