Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Runtime representation of a StateTree transition.
| Name | FCompactStateTransition |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTypes.h |
| Include Path | #include "StateTreeTypes.h" |
Syntax
USTRUCT ()
struct FCompactStateTransition
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCompactStateTransition() |
StateTreeTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bConsumeEventOnSelect | uint8 | If set to true, the required event is consumed (later state selection cannot react to it) if state selection can be made. | StateTreeTypes.h | |
| bReactivateTargetState | uint8 | The target state and all the following states will be reactivated. | StateTreeTypes.h | |
| bTransitionEnabled | uint8 | Indicates if the transition is enabled and should be considered. | StateTreeTypes.h | |
| ConditionEvaluationScopeMemoryRequirement | UE::StateTree::InstanceData::FEvaluationScopeMemoryRequirement | The amount of memory used by the condition when it uses the evaluation scope data type. | StateTreeTypes.h | |
| ConditionsBegin | uint16 | Index to first condition to test | StateTreeTypes.h | |
| ConditionsNum | uint8 | Number of conditions to test. | StateTreeTypes.h | |
| Delay | FStateTreeRandomTimeDuration | Transition delay. | StateTreeTypes.h | |
| Fallback | EStateTreeSelectionFallback | Fallback of the transition if it fails to select the target state | StateTreeTypes.h | |
| Priority | EStateTreeTransitionPriority | Priority of the transition. | StateTreeTypes.h | |
| RequiredDelegateDispatcher | FStateTreeDelegateDispatcher | Delegate dispatcher the transition is waiting for. | StateTreeTypes.h | |
| RequiredEvent | FCompactEventDesc | Event Description | StateTreeTypes.h | |
| State | FStateTreeStateHandle | Target state of the transition | StateTreeTypes.h | |
| Trigger | EStateTreeTransitionTrigger | Type of the transition trigger. | StateTreeTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HasDelay() |
StateTreeTypes.h |