Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Schema describing which inputs, evaluators, and tasks a StateTree can contain. Each StateTree asset saves the schema class name in asset data tags, which can be used to limit which StatTree assets can be selected per use case, i.e.:
UStateTree* StateTree;
| Name | UStateTreeSchema |
| Type | class |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeSchema.h |
| Include Path | #include "StateTreeSchema.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UStateTreeSchema : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UStateTreeSchema
Derived Classes
UStateTreeSchema derived class hierarchy
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AllowEnterConditions() |
StateTreeSchema.h | ||
virtual bool AllowEvaluators() |
StateTreeSchema.h | ||
virtual bool AllowGlobalParameters() |
StateTreeSchema.h | ||
virtual bool AllowMultipleTasks() |
StateTreeSchema.h | ||
virtual bool AllowTasksCompletion() |
StateTreeSchema.h | ||
virtual bool AllowUtilityConsiderations() |
StateTreeSchema.h | ||
virtual TConstArrayView< FStateTreeExternalDataDesc > GetContextDataDescs() |
StateTreeSchema.h | ||
virtual EStateTreeParameterDataType GetGlobalParameterDataType() |
StateTreeSchema.h | ||
virtual EStateTreeStateSelectionRules GetStateSelectionRules() |
StateTreeSchema.h | ||
virtual bool IsClassAllowed
(
const UClass* InScriptStruct |
StateTreeSchema.h | ||
virtual bool IsExternalItemAllowed
(
const UStruct& InStruct |
StateTreeSchema.h | ||
virtual bool IsScheduledTickAllowed() |
StateTreeSchema.h | ||
virtual bool IsStateSelectionAllowed
(
EStateTreeStateSelectionBehavior InBehavior |
StateTreeSchema.h | ||
virtual bool IsStateTypeAllowed
(
EStateTreeStateType InStateType |
StateTreeSchema.h | ||
virtual bool IsStructAllowed
(
const UScriptStruct* InScriptStruct |
StateTreeSchema.h | ||
virtual bool Link
(
FStateTreeLinker& Linker |
Resolves schema references to other StateTree data. | StateTreeSchema.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsChildOfBlueprintBase
(
const UClass* InClass |
Helper function to check if a class is any of the Blueprint extendable item classes (Eval, Task, Condition). | StateTreeSchema.h |