Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/Conditions
Inheritance Hierarchy
- FStateTreeNodeBase
- FStateTreeConditionBase
- FStateTreeConditionCommonBase
- FStateTreeCompareFloatCondition
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Conditions/StateTreeCommonConditions.h |
| Include | #include "Conditions/StateTreeCommonConditions.h" |
Syntax
USTRUCT (DisplayName="Float Compare")
struct FStateTreeCompareFloatCondition : public FStateTreeConditionCommonBase
Remarks
Condition comparing two floats.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInvert | ||
| EGenericAICheck | Operator |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStateTreeCompareFloatCondition
(
const EGenericAICheck InOperator, |
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 * |
Typedefs
| Name | Description |
|---|---|
| FInstanceDataType |