Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Condition testing if object is child of specified class.
| Name | FStateTreeObjectIsChildOfClassCondition |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Conditions/StateTreeObjectConditions.h |
| Include Path | #include "Conditions/StateTreeObjectConditions.h" |
Syntax
USTRUCT (DisplayName="Object Class Is", Category="Object")
struct FStateTreeObjectIsChildOfClassCondition : public FStateTreeConditionCommonBase
Inheritance Hierarchy
- FStateTreeNodeBase → FStateTreeConditionBase → FStateTreeConditionCommonBase → FStateTreeObjectIsChildOfClassCondition
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Conditions/StateTreeObjectConditions.h | |||
FStateTreeObjectIsChildOfClassCondition
(
const EStateTreeCompare InInverts |
Conditions/StateTreeObjectConditions.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FInstanceDataType | FStateTreeObjectIsChildOfClassConditionInstanceData | Conditions/StateTreeObjectConditions.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInvert | bool | Conditions/StateTreeObjectConditions.h |
|
Functions
Public
Overridden from FStateTreeConditionBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool TestCondition
(
FStateTreeExecutionContext& Context |
Conditions/StateTreeObjectConditions.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/StateTreeObjectConditions.h | |
virtual const UStruct * GetInstanceDataType() |
Conditions/StateTreeObjectConditions.h |