Navigation
API > API/Editor > API/Editor/AIGraph
| Name | UAIGraphNode |
| Type | class |
| Header File | /Engine/Source/Editor/AIGraph/Classes/AIGraphNode.h |
| Include Path | #include "AIGraphNode.h" |
Syntax
UCLASS (MinimalAPI)
class UAIGraphNode : public UEdGraphNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UAIGraphNode
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAIGraphNode
(
const FObjectInitializer& ObjectInitializer |
AIGraphNode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsReadOnly | uint32 | If set, all modifications (including delete/cut) are disabled | AIGraphNode.h | |
| bIsSubNode | uint32 | If set, this node will be always considered as subnode | AIGraphNode.h | |
| ClassData | FGraphNodeClassData | Instance class | AIGraphNode.h | |
| CopySubNodeIndex | int32 | Subnode index assigned during copy operation to connect nodes again on paste | AIGraphNode.h | |
| ErrorMessage | FString | Error message for node | AIGraphNode.h | |
| NodeInstance | TObjectPtr< UObject > | AIGraphNode.h | ||
| ParentNode | TObjectPtr< UAIGraphNode > | AIGraphNode.h |
|
|
| SubNodes | TArray< TObjectPtr< UAIGraphNode > > | AIGraphNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSubNode
(
UAIGraphNode* SubNode, |
AIGraphNode.h | ||
virtual int32 FindSubNodeDropIndex
(
UAIGraphNode* SubNode |
AIGraphNode.h | ||
virtual UAIGraph * GetAIGraph() |
AIGraphNode.h | ||
virtual UEdGraph * GetBoundGraph() |
AIGraphNode.h | ||
virtual FText GetDescription() |
AIGraphNode.h | ||
virtual UEdGraphPin * GetInputPin
(
int32 InputIndex |
AIGraphNode.h | ||
virtual UEdGraphPin * GetOutputPin
(
int32 InputIndex |
AIGraphNode.h | ||
virtual bool HasErrors() |
Check if node has any errors, used for assigning colors on graph | AIGraphNode.h | |
virtual void InitializeInstance() |
Initialize instance object | AIGraphNode.h | |
virtual void InsertSubNodeAt
(
UAIGraphNode* SubNode, |
AIGraphNode.h | ||
virtual bool IsSubNode() |
Check if node is subnode | AIGraphNode.h | |
virtual void OnSubNodeAdded
(
UAIGraphNode* SubNode |
AIGraphNode.h | ||
virtual void OnSubNodeRemoved
(
UAIGraphNode* SubNode |
AIGraphNode.h | ||
virtual void PostCopyNode() |
AIGraphNode.h | ||
virtual bool RefreshNodeClass() |
Reinitialize node instance | AIGraphNode.h | |
virtual void RemoveAllSubNodes() |
AIGraphNode.h | ||
void RemoveSubNode
(
UAIGraphNode* SubNode |
AIGraphNode.h | ||
virtual void UpdateErrorMessage() |
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) | AIGraphNode.h | |
virtual void UpdateNodeClassData() |
Updates ClassData from node instance | AIGraphNode.h | |
bool UsesBlueprint() |
Check if node instance uses blueprint for its implementation | AIGraphNode.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AutowireNewNode
(
UEdGraphPin* FromPin |
AIGraphNode.h | ||
virtual bool CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* DesiredSchema |
AIGraphNode.h | ||
virtual bool CanDuplicateNode() |
AIGraphNode.h | ||
virtual bool CanUserDeleteNode() |
AIGraphNode.h | ||
virtual void DestroyNode() |
AIGraphNode.h | ||
virtual void FindDiffs
(
UEdGraphNode* OtherNode, |
AIGraphNode.h | ||
| AIGraphNode.h | |||
virtual FText GetTooltipText() |
AIGraphNode.h | ||
virtual void NodeConnectionListChanged() |
AIGraphNode.h | ||
virtual void PostPlacedNewNode() |
AIGraphNode.h | ||
virtual void PrepareForCopying() |
AIGraphNode.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditImport() |
AIGraphNode.h | ||
virtual void PostEditUndo() |
AIGraphNode.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ResetNodeOwner() |
AIGraphNode.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void UpdateNodeClassDataFrom
(
UClass* InstanceClass, |
AIGraphNode.h |