UStateTreeEditorData

Edit time data for StateTree asset.

Choose your operating system:

Windows

macOS

Linux

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(BlueprintType, EditInlineNew, CollapseCategories)
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

Name Description

Public variable UProperty

FStateTreeEdito...

 

EditorBindings

Public variable UProperty

TArray< UStateT...

 

Routines

Top level States aka Routines.

Functions

Name Description

Public function

void

 

AddPropertyBinding

(
    const FStateTreeEditorPropertyPath ...,
    const FStateTreeEditorPropertyPath ...
)

Adds property binding between two structs.

Public function

UStateTreeSt...

 

AddSubTree

(
    const FName Name
)

Adds new Subtree with specified name.

Public function Const

void

 

GetAllStructIDs

(
    TMap< FGuid, const UStruct* > ...
)

Gets the IDs of all bindable structs in the StateTree.

Public function Const

const UState...

 

GetStateByStructID

(
    const FGuid TargetStructID
)

Returns parent state of a struct, or nullptr if not found.

Public function Const

void

 

VisitHierarchy

(
    TFunctionRef< bool...
)

Iterates over all structs that are related to binding

Overridden from IStateTreeEditorPropertyBindingsOwner

Name Description

Public function Virtual Const

void

 

GetAccessibleStructs

(
    const FGuid TargetStructID,
    TArray< FStateTreeBindableStructDes...
)

IStateTreeEditorPropertyBindingsOwner.

Public function Virtual

FStateTreeEd...

 

GetPropertyEditorBindings()

Public function Virtual Const

bool

 

GetStructByID

(
    const FGuid StructID,
    FStateTreeBindableStructDesc& OutS...
)

Returns struct descriptor based on struct ID.