Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Condition comparing two integers.
| Name | FStateTreeCompareIntCondition |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Conditions/StateTreeCommonConditions.h |
| Include Path | #include "Conditions/StateTreeCommonConditions.h" |
Syntax
USTRUCT (DisplayName="Integer Compare")
struct FStateTreeCompareIntCondition : public FStateTreeConditionCommonBase
Inheritance Hierarchy
- FStateTreeNodeBase → FStateTreeConditionBase → FStateTreeConditionCommonBase → FStateTreeCompareIntCondition
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Conditions/StateTreeCommonConditions.h | |||
FStateTreeCompareIntCondition
(
const EGenericAICheck InOperator, |
Conditions/StateTreeCommonConditions.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FInstanceDataType | FStateTreeCompareIntConditionInstanceData | Conditions/StateTreeCommonConditions.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInvert | bool | Conditions/StateTreeCommonConditions.h |
|
|
| Operator | EGenericAICheck | Conditions/StateTreeCommonConditions.h |
|
Functions
Public
Overridden from FStateTreeConditionBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool TestCondition
(
FStateTreeExecutionContext& Context |
Conditions/StateTreeCommonConditions.h |
Overridden from FStateTreeNodeBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetDescription
(
const FGuid& ID, |
Returns description for the node, use in the UI. | Conditions/StateTreeCommonConditions.h | |
virtual const UStruct * GetInstanceDataType() |
Conditions/StateTreeCommonConditions.h |