Navigation
Unreal Engine C++ API Reference > Editor > BehaviorTreeEditor
Inheritance Hierarchy
- IBehaviorTreeEditor
- FAIGraphEditor
- FNotifyHook
- FBehaviorTreeEditor
References
Module | BehaviorTreeEditor |
Header | /Engine/Source/Editor/BehaviorTreeEditor/Public/BehaviorTreeEditor.h |
Include | #include "BehaviorTreeEditor.h" |
Syntax
class FBehaviorTreeEditor :
public IBehaviorTreeEditor,
public FAIGraphEditor,
public FNotifyHook
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FText | CornerText | |
![]() |
TSubclassOf< UBehaviorTreeGraph > | GraphClass | |
![]() |
FName | GraphName | |
![]() |
FText | TitleText |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Destructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Check whether the behavior tree mode can be accessed (i.e whether we have a valid tree to edit) | |
![]() ![]() |
bool | Check whether the blackboard mode can be accessed (i.e whether we have a valid blackboard to edit) | |
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | Whether we can currently create a new Blackboard | |
![]() ![]() |
bool | Check to see if we can create a new decorator node | |
![]() ![]() |
bool | Check to see if we can create a new service node | |
![]() ![]() |
bool | Check to see if we can create a new task node | |
![]() ![]() |
bool | ||
![]() ![]() |
bool | Get whether we can edit the tree/blackboard with the debugger active | |
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() |
void | Create a new Blackboard alongside the currently-edited behavior tree | |
![]() ![]() |
void | Create a new decorator from UBTDecorator_BlueprintBase | |
![]() ![]() |
void | Create a new service from UBTService_BlueprintBase | |
![]() ![]() |
void | Create a new task from UBTTask_BlueprintBase | |
![]() |
void | DebuggerSwitchAsset
(
UBehaviorTree* NewAsset |
|
![]() |
void | ||
![]() ![]() |
UBehaviorTree * | Get the behavior tree we are editing (if any) | |
![]() ![]() |
UBlackboardData * | Get the blackboard we are editing (if any) | |
![]() ![]() |
void | GetBlackboardSelectionInfo
(
int32& OutSelectionIndex, |
Get the currently selected blackboard entry |
![]() ![]() |
FText | ||
![]() ![]() |
EVisibility | ||
![]() ![]() |
TWeakPtr< SGraphEditor > | ||
![]() ![]() |
FGraphAppearanceInfo | ||
![]() ![]() |
EVisibility | ||
![]() ![]() |
FText | GetLocalizedMode
(
FName InMode |
Get the localized text to display for the specified mode |
![]() ![]() |
EVisibility | ||
![]() ![]() |
EVisibility | ||
![]() ![]() |
EVisibility | ||
![]() |
TSharedPtr< class FBehaviorTreeEditorToolbar > | Access the toolbar builder for this editor | |
![]() |
void | HandleBlackboardEntrySelected
(
const FBlackboardEntry* BlackboardEntry, |
Delegate handler for selection in the blackboard entry list |
![]() |
void | HandleBlackboardKeyChanged
(
UBlackboardData* InBlackboardData, |
Delegate handler for when a blackboard key changes (added, removed, renamed) |
![]() ![]() |
TSharedRef< SWidget > | Create the menu used to make a new decorator | |
![]() ![]() |
TSharedRef< SWidget > | Create the menu used to make a new service | |
![]() ![]() |
TSharedRef< SWidget > | Create the menu used to make a new task node | |
![]() |
void | HandleDebuggedBlackboardChanged
(
UBlackboardData* InObject |
Delegate handler for when the debugged blackboard changes |
![]() ![]() |
FText | HandleGetDebugKeyValue
(
const FName& InKeyName, |
Delegate handler for displaying debugger values |
![]() ![]() |
double | HandleGetDebugTimeStamp
(
bool bUseCurrentState |
Delegate handler for retrieving timestamp to display |
![]() ![]() |
bool | Delegate handler for determining whether to display the current state | |
![]() |
int32 | HandleGetSelectedBlackboardItemIndex
(
bool& bOutIsInherited |
Delegate handler used to retrieve current blackboard selection |
![]() ![]() |
bool | Check whether blackboard mode is current | |
![]() ![]() |
void | HandleNewNodeClassPicked
(
UClass* InClass |
Handler for when a node class is picked |
![]() ![]() |
bool | InEditingMode
(
bool bGraphIsEditable |
|
![]() ![]() |
void | InitBehaviorTreeEditor
(
const EToolkitMode::Type Mode, |
|
![]() ![]() |
bool | Get whether the debugger is currently running and the PIE session is paused | |
![]() ![]() |
bool | ||
![]() ![]() |
bool | Whether the single button to create a new Blueprint-based decorator is visible | |
![]() ![]() |
bool | Whether the combo button to create a new Blueprint-based decorator from all available base classes is visible | |
![]() ![]() |
bool | Whether the single button to create a new Blueprint-based service is visible | |
![]() ![]() |
bool | Whether the combo button to create a new Blueprint-based service from all available base classes is visible | |
![]() ![]() |
bool | Whether the single button to create a new Blueprint-based task is visible | |
![]() ![]() |
bool | Whether the combo button to create a new Blueprint-based task from all available base classes is visible | |
![]() ![]() |
bool | ||
![]() |
void | JumpToNode
(
const UEdGraphNode* Node |
|
![]() |
void | ||
![]() |
void | ||
![]() |
void | OnDebuggerActorSelected
(
TWeakObjectPtr< UBehaviorTreeComponent > InstanceToDebug |
|
![]() |
void | ||
![]() |
void | ||
![]() |
void | OnFinishedChangingProperties
(
const FPropertyChangedEvent& PropertyChangedEvent |
|
![]() |
TSharedRef< class SWidget > | ||
![]() |
void | OnGraphEditorFocused
(
const TSharedRef< SGraphEditor >& InGraphEditor |
|
![]() |
void | OnNodeDoubleClicked
(
UEdGraphNode* Node |
Delegates. |
![]() |
void | OnNodeTitleCommitted
(
const FText& NewText, |
|
![]() |
void | OnPackageSaved
(
const FString& PackageFileName, |
|
![]() |
void | ||
![]() |
void | ||
![]() |
void | ||
![]() |
void | RegisterToolbarTab
(
const TSharedRef< class FTabManager >& TabManager |
|
![]() |
void | Restores the behavior tree graph we were editing or creates a new one if none is available | |
![]() |
void | Save the graph state for later editing | |
![]() |
void | SearchTree () |
|
![]() |
void | SetToolbarCreateActionsEnabled
(
bool bActionsEnabled |
|
![]() |
TSharedRef< SWidget > | Spawn blackboard details tab | |
![]() |
TSharedRef< SWidget > | Spawn blackboard editor tab | |
![]() |
TSharedRef< SWidget > | Spawn blackboard view tab | |
![]() |
TSharedRef< SWidget > | Spawns the tab with the update graph inside | |
![]() |
TSharedRef< SWidget > | SpawnSearch () |
Spawns the search tab |
![]() |
void |
Overridden from IBehaviorTreeEditor
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | DoubleClickNode
(
UEdGraphNode* Node |
|
![]() ![]() ![]() |
UEdGraphNode * | FindInjectedNode
(
int32 Index |
|
![]() ![]() |
void | FocusAttentionOnNode
(
UEdGraphNode* Node |
|
![]() ![]() ![]() |
void | InitializeDebuggerState
(
FBehaviorTreeDebugger* ParentDebugger |
Overridden from FAssetEditorToolkit
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Called when "Save" is clicked for this asset |
Overridden from IAssetEditorInstance
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | FocusWindow
(
UObject* ObjectToFocusOn |
Overridden from IToolkit
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FText | Returns the localized name of this toolkit type (typically just " |
|
![]() ![]() ![]() |
FName | Returns the invariant name of this toolkit type | |
![]() ![]() ![]() |
FText | Returns the localized name of this toolkit | |
![]() ![]() ![]() |
FText | Returns the localized tooltip text of this toolkit | |
![]() ![]() ![]() |
FLinearColor | ||
![]() ![]() ![]() |
FString | Returns the localize prefix string to use for tab labels in world-centric mode. | |
![]() ![]() |
void | RegisterTabSpawners
(
const TSharedRef< class FTabManager >& TabManager |
IToolkit interface |
Overridden from FAIGraphEditor
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void |
Overridden from FEditorUndoClient
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostRedo
(
bool bSuccess |
Signal that client should run any PostRedo code |
![]() ![]() |
void | PostUndo
(
bool bSuccess |
Signal that client should run any PostUndo code |
Overridden from FNotifyHook
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | NotifyPostChange
(
const FPropertyChangedEvent& PropertyChangedEvent, |
Constants
Name | Description |
---|---|
BehaviorTreeMode | Modes in mode switcher |
BlackboardMode |