Navigation
API > API/Editor > API/Editor/AIGraph
Inheritance Hierarchy
- UEdGraphNode
- UAIGraphNode
- UBehaviorTreeGraphNode
- UBehaviorTreeGraphNode_Composite
- UBehaviorTreeGraphNode_SimpleParallel
- UBehaviorTreeGraphNode_CompositeDecorator
- UBehaviorTreeGraphNode_Decorator
- UBehaviorTreeGraphNode_Root
- UBehaviorTreeGraphNode_Service
- UBehaviorTreeGraphNode_Task
- UBehaviorTreeGraphNode_SubtreeTask
- UConversationGraphNode
- UConversationGraphNode_Choice
- UConversationGraphNode_EntryPoint
- UConversationGraphNode_Requirement
- UConversationGraphNode_SideEffect
- UConversationGraphNode_Task
- UEnvironmentQueryGraphNode
- UEnvironmentQueryGraphNode_Option
- UEnvironmentQueryGraphNode_Root
- UEnvironmentQueryGraphNode_Test
References
| Module | AIGraph |
| Header | /Engine/Source/Editor/AIGraph/Classes/AIGraphNode.h |
| Include | #include "AIGraphNode.h" |
Syntax
UCLASS ()
class UAIGraphNode : public UEdGraphNode
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bIsReadOnly | If set, all modifications (including delete/cut) are disabled | |
| uint32: 1 | bIsSubNode | If set, this node will be always considered as subnode | |
| FGraphNodeClassData | ClassData | Instance class | |
| int32 | CopySubNodeIndex | Subnode index assigned during copy operation to connect nodes again on paste | |
| FString | ErrorMessage | Error message for node | |
| TObjectPtr< UObject > | NodeInstance | ||
| TObjectPtr< UAIGraphNode > | ParentNode | ||
| TArray< TObjectPtr< UAIGraphNode > > | SubNodes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAIGraphNode
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSubNode
(
UAIGraphNode* SubNode, |
||
| void | AutowireNewNode
(
UEdGraphPin* FromPin |
||
| bool | CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* DesiredSchema |
||
| bool | |||
| bool | |||
| void | DestroyNode () |
||
| void | FindDiffs
(
UEdGraphNode* OtherNode, |
||
| int32 | FindSubNodeDropIndex
(
UAIGraphNode* SubNode |
||
| UAIGraph * | GetAIGraph () |
||
| UEdGraph * | |||
| FText | |||
| UEdGraphPin * | GetInputPin
(
int32 InputIndex |
||
| UEdGraphPin * | GetOutputPin
(
int32 InputIndex |
||
| FString | GetPropertyNameAndValueForDiff
(
const FProperty* Prop, |
||
| FText | |||
| bool | HasErrors () |
Check if node has any errors, used for assigning colors on graph | |
| void | Initialize instance object | ||
| void | InsertSubNodeAt
(
UAIGraphNode* SubNode, |
||
| bool | IsSubNode () |
Check if node is subnode | |
| void | |||
| void | OnSubNodeAdded
(
UAIGraphNode* SubNode |
||
| void | OnSubNodeRemoved
(
UAIGraphNode* SubNode |
||
| void | PostCopyNode () |
||
| void | |||
| void | PostEditUndo () |
||
| void | |||
| void | |||
| bool | Reinitialize node instance | ||
| void | |||
| void | RemoveSubNode
(
UAIGraphNode* SubNode |
||
| void | |||
| void | 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) | ||
| void | Updates ClassData from node instance | ||
| void | UpdateNodeClassDataFrom
(
UClass* InstanceClass, |
||
| bool | Check if node instance uses blueprint for its implementation |