Navigation
Unreal Engine C++ API Reference > Editor > BehaviorTreeEditor
Inheritance Hierarchy
- UEdGraphNode
- UAIGraphNode
- UBehaviorTreeGraphNode
- UBehaviorTreeGraphNode_Composite
- UBehaviorTreeGraphNode_SimpleParallel
- UBehaviorTreeGraphNode_CompositeDecorator
- UBehaviorTreeGraphNode_Decorator
- UBehaviorTreeGraphNode_Root
- UBehaviorTreeGraphNode_Service
- UBehaviorTreeGraphNode_Task
- UBehaviorTreeGraphNode_SubtreeTask
References
Module | BehaviorTreeEditor |
Header | /Engine/Source/Editor/BehaviorTreeEditor/Classes/BehaviorTreeGraphNode.h |
Include | #include "BehaviorTreeGraphNode.h" |
Syntax
UCLASS ()
class UBehaviorTreeGraphNode : public UAIGraphNode
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32: 1 | bDebuggerMarkBreakpointTrigger | Debugger flag: mark stopped on this breakpoint |
![]() |
uint32: 1 | bDebuggerMarkCurrentlyActive | Debugger flag: mark node as active (current state) |
![]() |
uint32: 1 | bDebuggerMarkFlashActive | Debugger flag: briefly flash active node |
![]() |
uint32: 1 | bDebuggerMarkPreviouslyActive | Debugger flag: mark node as active (browsing previous states) |
![]() |
uint32: 1 | bDebuggerMarkSearchFailed | Debugger flag: mark as failed on search path |
![]() |
uint32: 1 | bDebuggerMarkSearchFailedTrigger | Debugger flag: mark as trigger of discarded search path |
![]() |
uint32: 1 | bDebuggerMarkSearchReverseConnection | Debugger flag: mark as going to parent |
![]() |
uint32: 1 | bDebuggerMarkSearchSucceeded | Debugger flag: mark as succeeded search path |
![]() |
uint32: 1 | bDebuggerMarkSearchTrigger | Debugger flag: mark as trigger of search path |
![]() |
uint32: 1 | bHasBreakpoint | Debugger flag: breakpoint exists |
![]() |
uint32: 1 | bHasObserverError | If set, observer setting is invalid (injected nodes only) |
![]() |
uint32: 1 | bHighlightChildNodeIndices | Highlight other child node indexes when hovering over a child |
![]() |
uint32: 1 | bHighlightInAbortRange0 | Highlighting nodes in abort range for more clarity when setting up decorators |
![]() |
uint32: 1 | bHighlightInAbortRange1 | Highlighting nodes in abort range for more clarity when setting up decorators |
![]() |
uint32: 1 | bHighlightInSearchRange0 | Highlighting connections in search range for more clarity when setting up decorators |
![]() |
uint32: 1 | bHighlightInSearchRange1 | Highlighting connections in search range for more clarity when setting up decorators |
![]() |
uint32: 1 | bHighlightInSearchTree | Highlighting nodes during quick find |
![]() ![]() |
uint32: 1 | bInjectedNode | If set, this node was injected from subtree and shouldn't be edited |
![]() |
uint32: 1 | bIsBreakpointEnabled | Debugger flag: breakpoint is enabled |
![]() |
uint32: 1 | bRootLevel | If set, this node is root of tree or sub node of it |
![]() |
FString | DebuggerRuntimeDescription | Used to show node's runtime description rather than static one |
![]() |
int32 | DebuggerSearchPathIndex | Debugger variable: index on search path |
![]() |
int32 | DebuggerSearchPathSize | Debugger variable: number of nodes on search path |
![]() |
int32 | DebuggerUpdateCounter | Debugger variable: incremented on change of debugger flags for render updates |
![]() ![]() |
TArray< TObjectPtr< UBehaviorTreeGraphNode > > | Decorators | Only some of behavior tree nodes support decorators |
![]() ![]() |
TArray< TObjectPtr< UBehaviorTreeGraphNode > > | Services | Only some of behavior tree nodes support services |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UBehaviorTreeGraphNode
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddContextMenuActionsDecorators
(
UToolMenu* Menu, |
Add right click menu to create subnodes: Decorators |
![]() ![]() |
void | AddContextMenuActionsServices
(
UToolMenu* Menu, |
Add right click menu to create subnodes: Services |
![]() ![]() |
void | ||
![]() ![]() ![]() |
bool | Check if node can accept breakpoints | |
![]() |
void | ||
![]() ![]() |
void | CreateAddDecoratorSubMenu
(
UToolMenu* Menu, |
Creates add decorator... submenu |
![]() ![]() |
void | CreateAddServiceSubMenu
(
UToolMenu* Menu, |
Creates add service... submenu |
![]() ![]() ![]() |
FLinearColor | GetBackgroundColor
(
bool bIsActiveForDebugger |
|
![]() ![]() |
UBehaviorTreeGraph * | ||
![]() ![]() ![]() |
FName | GetNameIcon () |
Gets icon resource name for title bar |
![]() ![]() ![]() |
const ISlateStyle & | Gets the style set from which GetNameIcon is queried | |
![]() ![]() ![]() |
UBehaviorTreeGraph * |
Overridden from UAIGraphNode
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* DesiredSchema |
|
![]() ![]() |
void | FindDiffs
(
UEdGraphNode* OtherNode, |
|
![]() ![]() ![]() |
int32 | FindSubNodeDropIndex
(
UAIGraphNode* SubNode |
|
![]() ![]() ![]() |
FText | ||
![]() ![]() ![]() |
FText | ||
![]() ![]() ![]() |
bool | HasErrors () |
Check if node has any errors, used for assigning colors on graph |
![]() ![]() |
void | Initialize instance object | |
![]() ![]() |
void | InsertSubNodeAt
(
UAIGraphNode* SubNode, |
|
![]() ![]() |
void | OnSubNodeAdded
(
UAIGraphNode* SubNode |
|
![]() ![]() |
void | OnSubNodeRemoved
(
UAIGraphNode* SubNode |
|
![]() ![]() |
void | PostEditUndo () |
|
![]() ![]() |
void | ||
![]() ![]() |
void | Checks for any errors in this node and updates ErrorMessage with any resulting message Called every time the graph is serialized (i.e. loaded, saved, execution index changed, etc) |