Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Random condition
| Name | FStateTreeRandomCondition |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Conditions/StateTreeCommonConditions.h |
| Include Path | #include "Conditions/StateTreeCommonConditions.h" |
Syntax
USTRUCT (DisplayName="Random")
struct FStateTreeRandomCondition : public FStateTreeConditionCommonBase
Inheritance Hierarchy
- FStateTreeNodeBase → FStateTreeConditionBase → FStateTreeConditionCommonBase → FStateTreeRandomCondition
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStateTreeRandomCondition() |
Conditions/StateTreeCommonConditions.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FInstanceDataType | FStateTreeRandomConditionInstanceData | 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 |