Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Base struct for all conditions.
| Name | FStateTreeConditionBase |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeConditionBase.h |
| Include Path | #include "StateTreeConditionBase.h" |
Syntax
USTRUCT (Meta=(Hidden))
struct FStateTreeConditionBase : public FStateTreeNodeBase
Inheritance Hierarchy
- FStateTreeNodeBase → FStateTreeConditionBase
Derived Classes
FStateTreeConditionBase derived class hierarchy
- FAnimNextStateTreeRigVMConditionBase
- FAvaTransitionCondition
- FGameplayCamerasStateTreeCondition
- FGameplayInteractionStateTreeCondition
- FStateTreeConditionCommonBase
- FStateTreeAIConditionBase
- FStateTreeBlueprintConditionWrapper
- FZoneGraphTagCondition
- FZoneGraphTagFilterCondition
- FZoneGraphTagMaskCondition
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasShouldCallStateChangeEvents | uint8 | If set to true, EnterState, ExitState, and StateCompleted are called on the condition. | StateTreeConditionBase.h | |
| bShouldStateChangeOnReselect | uint8 | If set to true, the condition will receive EnterState/ExitState even if the state was previously active. | StateTreeConditionBase.h | |
| DeltaIndent | int8 | StateTreeConditionBase.h | ||
| EvaluationMode | EStateTreeConditionEvaluationMode | StateTreeConditionBase.h | ||
| Operand | EStateTreeExpressionOperand | StateTreeConditionBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EnterState
(
FStateTreeExecutionContext& Context, |
Called when a new state is entered and task is part of active states. | StateTreeConditionBase.h | |
virtual void ExitState
(
FStateTreeExecutionContext& Context, |
Called when a current state is exited and task is part of active states. | StateTreeConditionBase.h | |
virtual void StateCompleted
(
FStateTreeExecutionContext& Context, |
Called right after a state has been completed, but before new state has been selected. | StateTreeConditionBase.h | |
virtual bool TestCondition
(
FStateTreeExecutionContext& Context |
StateTreeConditionBase.h |