UStateTreeState

Editor representation of a state in StateTree

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

StateTreeEditorModule

Header

/Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeState.h

Include

#include "StateTreeState.h"

Syntax

UCLASS(BlueprintType, EditInlineNew, CollapseCategories)
class UStateTreeState : public UObject

Remarks

Editor representation of a state in StateTree

Variables

Name Description

Public variable UProperty

bool

 

bExpanded

Public variable UProperty

TArray< UStateT...

 

Children

Public variable UProperty Category, EditDefaultsOnly, Meta

TArray< FStateT...

 

EnterConditions

Public variable UProperty Category, EditDefaultsOnly, Meta

TArray< FStateT...

 

Evaluators

Public variable UProperty

FGuid

 

ID

Public variable UProperty Category, EditDefaultsOnly

FName

 

Name

Public variable UProperty

UStateTreeState...

 

Parent

Public variable UProperty Category, EditDefaultsOnly, Meta

FStateTreeTaskI...

 

SingleTask

Single item used when schema calls for single task per state.

Public variable UProperty Category, EditDefaultsOnly, Meta

TArray< FStateT...

 

Tasks

Public variable UProperty Category, EditDefaultsOnly

TArray< FStateT...

 

Transitions

Constructors

Name Description

Public function

UStateTreeState

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

UStateTreeSt...

 

AddChildState

(
    const FName ChildName
)

Adds child state with specified name.

Public function

TStateTreeCo...

 

AddEnterCondition

(
    TArgs&&... InArgs
)

Adds enter condition of specified type.

Public function

TStateTreeEv...

 

AddEvaluator

(
    TArgs&&... InArgs
)

Adds Evaluator of specified type.

Public function

TStateTreeTa...

 

AddTask

(
    TArgs&&... InArgs
)

Adds Task of specified type.

Public function

FStateTreeTr...

 

AddTransition

(
    const EStateTreeTransitionEvent InE...,
    const EStateTreeTransitionType InTy...,
    const UStateTreeState* InState
)

Adds Transition.

Public function Const

UStateTreeSt...

 

GetNextSiblingState()

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeChainProperty

(
    FPropertyChangedChainEvent& Proper...
)

This alternate version of PostEditChange is called when properties inside structs are modified.