FDecoratorSchemaAction_NewNode

Action to add a node to the graph

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FEdGraphSchemaAction

FDecoratorSchemaAction_NewNode

References

Module

BehaviorTreeEditor

Header

/Engine/Source/Editor/BehaviorTreeEditor/Classes/EdGraphSchema_BehaviorTreeDecorator.h

Include

#include "EdGraphSchema_BehaviorTreeDecorator.h"

Syntax

struct FDecoratorSchemaAction_NewNode : public FEdGraphSchemaAction

Remarks

Action to add a node to the graph

Variables

Name Description

Public variable

TObjectPtr< cla...

 

NodeTemplate

Template of node we want to create

Constructors

Name Description

Public function

FDecoratorSchemaAction_NewNode()

Public function

FDecoratorSchemaAction_NewNode

(
    FText InNodeCategory,
    FText InMenuDesc,
    FText InToolTip,
    const int32 InGrouping
)

Functions

Name Description

Public function Static

NodeType ...

 

SpawnNodeFromTemplate

(
    UEdGraph* ParentGraph,
    NodeType* InTemplateNode,
    const FVector2D Location
)

Overridden from FEdGraphSchemaAction

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

GC.

Public function Virtual

UEdGraphNode...

 

PerformAction

(
    UEdGraph* ParentGraph,
    UEdGraphPin* FromPin,
    const FVector2D Location,
    bool bSelectNewNode
)

Execute this action, given the graph and schema, and possibly a pin that we were dragged from.

Public function Virtual

UEdGraphNode...

 

PerformAction

(
    UEdGraph* ParentGraph,
    TArray< UEdGraphPin* >& FromP...,
    const FVector2D Location,
    bool bSelectNewNode
)

Execute this action, given the graph and schema, and possibly a pin that we were dragged from.