Navigation
API > API/Editor > API/Editor/BehaviorTreeEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphSchema
- UAIGraphSchema
- UEdGraphSchema_BehaviorTree
References
| Module | BehaviorTreeEditor |
| Header | /Engine/Source/Editor/BehaviorTreeEditor/Classes/EdGraphSchema_BehaviorTree.h |
| Include | #include "EdGraphSchema_BehaviorTree.h" |
Syntax
class UEdGraphSchema_BehaviorTree : public UAIGraphSchema
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSubclassOf< UBehaviorTreeGraphNode_CompositeDecorator > | CompositeDecoratorClass |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UEdGraphSchema_BehaviorTree
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FGraphNodeClassHelper & | |||
| bool | IsNodeSubtreeTask
(
const FGraphNodeClassData& NodeClass |
Overridden from UAIGraphSchema
| Type | Name | Description | |
|---|---|---|---|
| void | GetGraphNodeContextActions
(
FGraphContextMenuBuilder& ContextMenuBuilder, |
||
| void | GetSubNodeClasses
(
int32 SubNodeFlags, |
Overridden from UEdGraphSchema
| Type | Name | Description | |
|---|---|---|---|
| const FPinConnectionResponse | CanCreateConnection
(
const UEdGraphPin* A, |
Determine if a connection can be created between two pins. | |
| const FPinConnectionResponse | CanMergeNodes
(
const UEdGraphNode* A, |
Determine if two nodes can be merged | |
| FConnectionDrawingPolicy * | CreateConnectionDrawingPolicy
(
int32 InBackLayerID, |
Returns new FConnectionDrawingPolicy from this schema | |
| void | CreateDefaultNodesForGraph
(
UEdGraph& Graph |
Populate new graph with any default nodes | |
| void | Forces cached visualization data to refresh | ||
| void | GetContextMenuActions
(
UToolMenu* Menu, |
Gets actions that should be added to the right-click context menu for a node or pin | |
| int32 | Returns the current cache title refresh ID that is appropriate for the passed node | ||
| void | GetGraphContextActions
(
FGraphContextMenuBuilder& ContextMenuBuilder |
Get all actions that can be performed when right clicking on a graph or drag-releasing on a graph from a pin | |
| FLinearColor | GetPinTypeColor
(
const FEdGraphPinType& PinType |
Gets the draw color of a pin based on it's type. | |
| bool | IsCacheVisualizationOutOfDate
(
int32 InVisualizationCacheID |
Checks if a CacheRefreshID is out of date |
Constants
| Name | Description |
|---|---|
| CurrentCacheRefreshID | ID for checking dirty status of node titles against, increases whenever. |