Navigation
API > API/Editor > API/Editor/BehaviorTreeEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- 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
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 | |
| bool | Check if node can accept breakpoints | ||
| void | |||
| void | CreateAddDecoratorSubMenu
(
UToolMenu* Menu, |
Creates add decorator... submenu | |
| void | CreateAddServiceSubMenu
(
UToolMenu* Menu, |
Creates add service... submenu | |
| UBehaviorTreeGraph * | |||
| FName | GetNameIcon () |
Gets icon resource name for title bar |
Overridden from UAIGraphNode
| Type | Name | Description | |
|---|---|---|---|
| int32 | FindSubNodeDropIndex
(
UAIGraphNode* SubNode |
||
| 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 |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | Allocate default pins for a given node, based only the NodeType, which should already be filled in. | ||
| bool | CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* Schema |
Determine if this node can be created under the specified schema | |
| void | FindDiffs
(
UEdGraphNode* OtherNode, |
Gives the node the option to customize how diffs are discovered within it. | |
| FText | Gets the tooltip to display when over the node |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditUndo () |
Called after applying a transaction to the object. |