Navigation
API > API/Editor > API/Editor/BehaviorTreeEditor
| Name | UBehaviorTreeGraphNode |
| Type | class |
| Header File | /Engine/Source/Editor/BehaviorTreeEditor/Classes/BehaviorTreeGraphNode.h |
| Include Path | #include "BehaviorTreeGraphNode.h" |
Syntax
UCLASS (MinimalAPI)
class UBehaviorTreeGraphNode : public UAIGraphNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UAIGraphNode → UBehaviorTreeGraphNode
Derived Classes
UBehaviorTreeGraphNode derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBehaviorTreeGraphNode
(
const FObjectInitializer& ObjectInitializer |
BehaviorTreeGraphNode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDebuggerMarkBreakpointTrigger | uint32 | Debugger flag: mark stopped on this breakpoint | BehaviorTreeGraphNode.h | |
| bDebuggerMarkCurrentlyActive | uint32 | Debugger flag: mark node as active (current state) | BehaviorTreeGraphNode.h | |
| bDebuggerMarkFlashActive | uint32 | Debugger flag: briefly flash active node | BehaviorTreeGraphNode.h | |
| bDebuggerMarkPreviouslyActive | uint32 | Debugger flag: mark node as active (browsing previous states) | BehaviorTreeGraphNode.h | |
| bDebuggerMarkSearchFailed | uint32 | Debugger flag: mark as failed on search path | BehaviorTreeGraphNode.h | |
| bDebuggerMarkSearchFailedTrigger | uint32 | Debugger flag: mark as trigger of discarded search path | BehaviorTreeGraphNode.h | |
| bDebuggerMarkSearchReverseConnection | uint32 | Debugger flag: mark as going to parent | BehaviorTreeGraphNode.h | |
| bDebuggerMarkSearchSucceeded | uint32 | Debugger flag: mark as succeeded search path | BehaviorTreeGraphNode.h | |
| bDebuggerMarkSearchTrigger | uint32 | Debugger flag: mark as trigger of search path | BehaviorTreeGraphNode.h | |
| bHasBreakpoint | uint32 | Debugger flag: breakpoint exists | BehaviorTreeGraphNode.h | |
| bHasObserverError | uint32 | If set, observer setting is invalid (injected nodes only) | BehaviorTreeGraphNode.h | |
| bHighlightChildNodeIndices | uint32 | Highlight other child node indexes when hovering over a child | BehaviorTreeGraphNode.h | |
| bHighlightInAbortRange0 | uint32 | Highlighting nodes in abort range for more clarity when setting up decorators | BehaviorTreeGraphNode.h | |
| bHighlightInAbortRange1 | uint32 | Highlighting nodes in abort range for more clarity when setting up decorators | BehaviorTreeGraphNode.h | |
| bHighlightInSearchRange0 | uint32 | Highlighting connections in search range for more clarity when setting up decorators | BehaviorTreeGraphNode.h | |
| bHighlightInSearchRange1 | uint32 | Highlighting connections in search range for more clarity when setting up decorators | BehaviorTreeGraphNode.h | |
| bHighlightInSearchTree | uint32 | Highlighting nodes during quick find | BehaviorTreeGraphNode.h | |
| bInjectedNode | uint32 | If set, this node was injected from subtree and shouldn't be edited | BehaviorTreeGraphNode.h | |
| bIsBreakpointEnabled | uint32 | Debugger flag: breakpoint is enabled | BehaviorTreeGraphNode.h | |
| bRootLevel | uint32 | If set, this node is root of tree or sub node of it | BehaviorTreeGraphNode.h | |
| DebuggerRuntimeDescription | FString | Used to show node's runtime description rather than static one | BehaviorTreeGraphNode.h | |
| DebuggerSearchPathIndex | int32 | Debugger variable: index on search path | BehaviorTreeGraphNode.h | |
| DebuggerSearchPathSize | int32 | Debugger variable: number of nodes on search path | BehaviorTreeGraphNode.h | |
| DebuggerUpdateCounter | int32 | Debugger variable: incremented on change of debugger flags for render updates | BehaviorTreeGraphNode.h | |
| Decorators | TArray< TObjectPtr< UBehaviorTreeGraphNode > > | Only some of behavior tree nodes support decorators | BehaviorTreeGraphNode.h | |
| Services | TArray< TObjectPtr< UBehaviorTreeGraphNode > > | Only some of behavior tree nodes support services | BehaviorTreeGraphNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AllocateDefaultPins() |
BehaviorTreeGraphNode.h | ||
virtual bool CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* DesiredSchema |
BehaviorTreeGraphNode.h | ||
virtual bool CanPlaceBreakpoints() |
Check if node can accept breakpoints | BehaviorTreeGraphNode.h | |
void ClearDebuggerState() |
BehaviorTreeGraphNode.h | ||
virtual void FindDiffs
(
UEdGraphNode* OtherNode, |
BehaviorTreeGraphNode.h | ||
virtual int32 FindSubNodeDropIndex
(
UAIGraphNode* SubNode |
BehaviorTreeGraphNode.h | ||
virtual FLinearColor GetBackgroundColor
(
bool bIsActiveForDebugger |
BehaviorTreeGraphNode.h | ||
virtual UBehaviorTreeGraph * GetBehaviorTreeGraph() |
BehaviorTreeGraphNode.h | ||
virtual FText GetDescription() |
BehaviorTreeGraphNode.h | ||
virtual FName GetNameIcon() |
Gets icon resource name for title bar | BehaviorTreeGraphNode.h | |
virtual const ISlateStyle & GetNameIconStyleSet() |
Gets the style set from which GetNameIcon is queried | BehaviorTreeGraphNode.h | |
virtual UBehaviorTreeGraph * GetOwnerBehaviorTreeGraph() |
BehaviorTreeGraphNode.h | ||
virtual FText GetTooltipText() |
BehaviorTreeGraphNode.h | ||
virtual bool HasErrors() |
BehaviorTreeGraphNode.h | ||
virtual void InitializeInstance() |
BehaviorTreeGraphNode.h | ||
virtual void InsertSubNodeAt
(
UAIGraphNode* SubNode, |
BehaviorTreeGraphNode.h | ||
virtual void OnSubNodeAdded
(
UAIGraphNode* SubNode |
BehaviorTreeGraphNode.h | ||
virtual void OnSubNodeRemoved
(
UAIGraphNode* SubNode |
BehaviorTreeGraphNode.h | ||
virtual void PostEditUndo() |
BehaviorTreeGraphNode.h | ||
virtual void RemoveAllSubNodes() |
BehaviorTreeGraphNode.h | ||
virtual void UpdateErrorMessage() |
BehaviorTreeGraphNode.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddContextMenuActionsDecorators
(
UToolMenu* Menu, |
Add right click menu to create subnodes: Decorators | BehaviorTreeGraphNode.h | |
void AddContextMenuActionsServices
(
UToolMenu* Menu, |
Add right click menu to create subnodes: Services | BehaviorTreeGraphNode.h | |
void CreateAddDecoratorSubMenu
(
UToolMenu* Menu, |
Creates add decorator... submenu | BehaviorTreeGraphNode.h | |
void CreateAddServiceSubMenu
(
UToolMenu* Menu, |
Creates add service... submenu | BehaviorTreeGraphNode.h |