Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UStateTreeEditorData
References
Module | StateTreeEditorModule |
Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeEditorData.h |
Include | #include "StateTreeEditorData.h" |
Syntax
UCLASS&40;BlueprintType, EditInlineNew, CollapseCategories&41;
class UStateTreeEditorData :
public UObject,
public IStateTreeEditorPropertyBindingsOwner
Remarks
Edit time data for StateTree asset. This data gets baked into runtime format before being used by the StateTreeInstance.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TArray< FStateTreeEditorBreakpoint > | Breakpoints | Transient list of breakpoints added in the debugging session. |
![]() ![]() ![]() |
FStateTreeEditorPropertyBindings | EditorBindings | |
![]() ![]() ![]() |
TArray< FStateTreeEditorNode > | Evaluators | |
![]() ![]() ![]() |
TArray< FStateTreeEditorNode > | GlobalTasks | |
![]() ![]() ![]() |
FStateTreeStateParameters | RootParameters | Public parameters that could be used for bindings within the Tree. |
![]() ![]() ![]() ![]() |
TObjectPtr< UStateTreeSchema > | Schema | Schema describing which inputs, evaluators, and tasks a StateTree can contain |
![]() ![]() |
TArray< TObjectPtr< UStateTreeState > > | SubTrees | Top level States. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
TStateTreeEditorNode< T > & | AddEvaluator
(
TArgs&&... InArgs |
Adds Evaluator of specified type. |
![]() |
TStateTreeEditorNode< T > & | AddGlobalTask
(
TArgs&&... InArgs |
Adds Global Task of specified type. |
![]() |
bool | AddPropertyBinding
(
const FStateTreeEditorNode& SourceNode, |
Adds property binding between two structs. |
![]() |
void | AddPropertyBinding
(
const FStateTreePropertyPath& SourcePath, |
Adds property binding between two structs. |
![]() |
UStateTreeState & | AddRootState () |
Adds new Subtree named "Root". |
![]() |
UStateTreeState & | AddSubTree
(
const FName Name |
Adds new Subtree with specified name. |
![]() ![]() |
FStateTreeBindableStructDesc | FindContextData
(
const UStruct* ObjectType, |
Finds a bindable context struct based on name and type. |
![]() ![]() |
void | GetAccessibleStructs
(
const TConstArrayView< const UStateTreeState* > Path, |
Returns array of nodes along the execution path, up to the TargetStruct. |
![]() ![]() |
void | GetAllStructValues
(
TMap< FGuid, const FStateTreeDataView >& AllValues |
|
![]() |
UStateTreeState * | GetMutableStateByID
(
const FGuid StateID |
|
![]() ![]() |
const UStateTreeState * | GetStateByID
(
const FGuid StateID |
|
![]() ![]() |
const UStateTreeState * | GetStateByStructID
(
const FGuid TargetStructID |
|
![]() |
void | OnObjectsReinstanced
(
const FReplacementObjectMap& ObjectMap |
|
![]() |
void | OnUserDefinedStructReinstanced
(
const UUserDefinedStruct& UserDefinedStruct |
|
![]() |
void | ||
![]() ![]() |
EStateTreeVisitor | VisitAllNodes
(
TFunctionRef< EStateTreeVisitor(const UStateTreeState*State, const FStateTreeBindableStructDesc... |
Iterates over all structs that are related to binding. |
![]() ![]() |
EStateTreeVisitor | VisitGlobalNodes
(
TFunctionRef< EStateTreeVisitor(const UStateTreeState*State, const FStateTreeBindableStructDesc... |
Iterates over all structs at the global level (context, tree parameters, evaluators, global tasks) that are related to binding. |
![]() ![]() |
EStateTreeVisitor | VisitHierarchy
(
TFunctionRef< EStateTreeVisitor(UStateTreeState&State, UStateTreeState*ParentState)> InFunc |
Iterates over all structs that are related to binding |
![]() ![]() |
EStateTreeVisitor | VisitHierarchyNodes
(
TFunctionRef< EStateTreeVisitor(const UStateTreeState*State, const FStateTreeBindableStructDesc... |
Iterates over all structs in the state hierarchy that are related to binding. |
![]() ![]() |
EStateTreeVisitor | VisitStateNodes
(
const UStateTreeState& State, |
Iterates over all nodes in a given state. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BeginDestroy () |
Called before destroying the object. |
![]() ![]() |
void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
This alternate version of PostEditChange is called when properties inside structs are modified. |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Overridden from IStateTreeEditorPropertyBindingsOwner
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | GetAccessibleStructs
(
const FGuid TargetStructID, |
IStateTreeEditorPropertyBindingsOwner. |
![]() ![]() ![]() |
bool | GetDataViewByID
(
const FGuid StructID, |
Returns data view based on struct ID. |
![]() ![]() |
FStateTreeEditorPropertyBindings * | ||
![]() ![]() ![]() |
bool | GetStructByID
(
const FGuid StructID, |
Returns struct descriptor based on struct ID. |
Typedefs
Name | Description |
---|---|
FReplacementObjectMap |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
PRAGMA_DISABLE_DEPRECATION_WARNINGSvoid | AddPropertyBinding
(
const FStateTreeEditorPropertyPath& SourcePath, |
Use version with FStateTreePropertyPath instead. |
![]() ![]() |
void | GetAllStructIDs
(
TMap< FGuid, const UStruct* >& AllStructs |
Use GetAllStructValues with values instead. |
![]() ![]() |
void | VisitHierarchyNodes
(
TFunctionRef< EStateTreeVisitor(const UStateTreeState*State, const FGuid&ID, const FName&Name... |
Use VisitHierarchyNodes with State, Desc, Value instead. |
![]() ![]() |
EStateTreeVisitor | VisitStateNodes
(
const UStateTreeState& State, |
Use VisitStateNodes with State, Desc, Value instead. |