Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/Conditions
Inheritance Hierarchy
- FStateTreeNodeBase
- FStateTreeConditionBase
- FStateTreeConditionCommonBase
- FStateTreeCompareEnumCondition
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Conditions/StateTreeCommonConditions.h |
| Include | #include "Conditions/StateTreeCommonConditions.h" |
Syntax
USTRUCT (DisplayName="Enum Compare")
struct FStateTreeCompareEnumCondition : public FStateTreeConditionCommonBase
Remarks
Condition comparing two enums.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInvert |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStateTreeCompareEnumCondition
(
const EStateTreeCompare InInverts |
|||
FStateTreeCompareEnumCondition
(
const bool bInInverts |
Overridden from FStateTreeConditionBase
| Type | Name | Description | |
|---|---|---|---|
| bool | TestCondition
(
FStateTreeExecutionContext& Context |
Overridden from FStateTreeNodeBase
| Type | Name | Description | |
|---|---|---|---|
| FText | GetDescription
(
const FGuid& ID, |
Returns description for the node, use in the UI. | |
| const UStruct * | |||
| void | OnBindingChanged
(
const FGuid& ID, |
Called when binding of any of the properties in the node changes. |
Typedefs
| Name | Description |
|---|---|
| FInstanceDataType |