UBehaviorTreeGraphNode

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

BehaviorTreeEditor

Header

/Engine/Source/Editor/BehaviorTreeEditor/Classes/BehaviorTreeGraphNode.h

Include

#include "BehaviorTreeGraphNode.h"

Syntax

class UBehaviorTreeGraphNode : public UAIGraphNode

Variables

Name Description

Public variable

uint32: 1

 

bDebuggerMarkBreakpointTrigger

Debugger flag: mark stopped on this breakpoint

Public variable

uint32: 1

 

bDebuggerMarkCurrentlyActive

Debugger flag: mark node as active (current state)

Public variable

uint32: 1

 

bDebuggerMarkFlashActive

Debugger flag: briefly flash active node

Public variable

uint32: 1

 

bDebuggerMarkPreviouslyActive

Debugger flag: mark node as active (browsing previous states)

Public variable

uint32: 1

 

bDebuggerMarkSearchFailed

Debugger flag: mark as failed on search path

Public variable

uint32: 1

 

bDebuggerMarkSearchFailedTrigger

Debugger flag: mark as trigger of discarded search path

Public variable

uint32: 1

 

bDebuggerMarkSearchReverseConnection

Debugger flag: mark as going to parent

Public variable

uint32: 1

 

bDebuggerMarkSearchSucceeded

Debugger flag: mark as succeeded search path

Public variable

uint32: 1

 

bDebuggerMarkSearchTrigger

Debugger flag: mark as trigger of search path

Public variable

uint32: 1

 

bHasBreakpoint

Debugger flag: breakpoint exists

Public variable

uint32: 1

 

bHasObserverError

If set, observer setting is invalid (injected nodes only)

Public variable

uint32: 1

 

bHighlightChildNodeIndices

Highlight other child node indexes when hovering over a child

Public variable

uint32: 1

 

bHighlightInAbortRange0

Highlighting nodes in abort range for more clarity when setting up decorators

Public variable

uint32: 1

 

bHighlightInAbortRange1

Highlighting nodes in abort range for more clarity when setting up decorators

Public variable

uint32: 1

 

bHighlightInSearchRange0

Highlighting connections in search range for more clarity when setting up decorators

Public variable

uint32: 1

 

bHighlightInSearchRange1

Highlighting connections in search range for more clarity when setting up decorators

Public variable

uint32: 1

 

bHighlightInSearchTree

Highlighting nodes during quick find

Public variable

uint32: 1

 

bInjectedNode

If set, this node was injected from subtree and shouldn't be edited

Public variable

uint32: 1

 

bIsBreakpointEnabled

Debugger flag: breakpoint is enabled

Public variable

uint32: 1

 

bRootLevel

If set, this node is root of tree or sub node of it

Public variable

FString

 

DebuggerRuntimeDescription

Used to show node's runtime description rather than static one

Public variable

int32

 

DebuggerSearchPathIndex

Debugger variable: index on search path

Public variable

int32

 

DebuggerSearchPathSize

Debugger variable: number of nodes on search path

Public variable

int32

 

DebuggerUpdateCounter

Debugger variable: incremented on change of debugger flags for render updates

Public variable

TArray< UBehavi...

 

Decorators

Only some of behavior tree nodes support decorators

Public variable

TArray< UBehavi...

 

Services

Only some of behavior tree nodes support services

Constructors

Name Description

Public function

UBehaviorTreeGraphNode

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function Const

void

 

AddContextMenuActionsDecorators

(
    UToolMenu* Menu,
    const FName SectionName,
    UGraphNodeContextMenuContext* ...
)

Add right click menu to create subnodes: Decorators

Protected function Const

void

 

AddContextMenuActionsServices

(
    UToolMenu* Menu,
    const FName SectionName,
    UGraphNodeContextMenuContext* ...
)

Add right click menu to create subnodes: Services

Public function Virtual Const

bool

 

CanPlaceBreakpoints()

Check if node can accept breakpoints

Public function

void

 

ClearDebuggerState()

Protected function Const

void

 

CreateAddDecoratorSubMenu

(
    UToolMenu* Menu,
    UEdGraph* Graph
)

Creates add decorator... submenu

Protected function Const

void

 

CreateAddServiceSubMenu

(
    UToolMenu* Menu,
    UEdGraph* Graph
)

Creates add service... submenu

Public function Virtual

UBehaviorTre...

 

GetBehaviorTreeGraph()

Public function Virtual Const

FName

 

GetNameIcon()

Gets icon resource name for title bar

Overridden from UAIGraphNode

Name Description

Public function Virtual Const

int32

 

FindSubNodeDropIndex

(
    UAIGraphNode* SubNode
)

Public function Virtual Const

FText

 

GetDescription()

Public function Virtual Const

bool

 

HasErrors()

Check if node has any errors, used for assigning colors on graph

Public function Virtual

void

 

InitializeInstance()

Initialize instance object

Public function Virtual

void

 

InsertSubNodeAt

(
    UAIGraphNode* SubNode,
    int32 DropIndex
)

Public function Virtual

void

 

OnSubNodeAdded

(
    UAIGraphNode* SubNode
)

Public function Virtual

void

 

OnSubNodeRemoved

(
    UAIGraphNode* SubNode
)

Public function Virtual

void

 

RemoveAllSubNodes()

Overridden from UEdGraphNode

Name Description

Public function Virtual

void

 

AllocateDefaultPins()

Allocate default pins for a given node, based only the NodeType, which should already be filled in.

Public function Virtual Const

bool

 

CanCreateUnderSpecifiedSchema

(
    const UEdGraphSchema* Schema
)

Determine if this node can be created under the specified schema

Public function Virtual

void

 

FindDiffs

(
    UEdGraphNode* OtherNode,
    FDiffResults& Results
)

Gives the node the option to customize how diffs are discovered within it.

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss