FEdGraphSchemaAction_K2NewNode

Action to add a node to the graph

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2_Actions.h

Include

#include "EdGraphSchema_K2_Actions.h"

Syntax

struct FEdGraphSchemaAction_K2NewNode : public FEdGraphSchemaAction

Remarks

Action to add a node to the graph

Variables

Name Description

Public variable

bool

 

bGotoNode

Public variable

TObjectPtr< cla...

 

NodeTemplate

Template of node we want to create

Constructors

Name Description

Public function

FEdGraphSchemaAction_K2NewNode()

Public function

FEdGraphSchemaAction_K2NewNode

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

Functions

Name Description

Public function Static

UEdGraphNode...

 

CreateNode

(
    UEdGraph* ParentGraph,
    TArrayView< UEdGraphPin* > Fro...,
    const FVector2D Location,
    UK2Node* NodeTemplate,
    EK2NewNodeFlags Options
)

Public function Static

UEdGraphNode...

 

CreateNode

(
    UEdGraph* ParentGraph,
    TArrayView< UEdGraphPin* > Fro...,
    const FVector2D Location,
    TFunctionRef< UK2Node*(UEdGrap...,
    TFunctionRef< void*)> ...,
    EK2NewNodeFlags Options
)

Public function Static

NodeType ...

 

SpawnNode

(
    UEdGraph* ParentGraph,
    const FVector2D Location,
    EK2NewNodeFlags Options
)

Public function Static

NodeType ...

 

SpawnNode

(
    UEdGraph* ParentGraph,
    const FVector2D Location,
    EK2NewNodeFlags Options,
    TFunctionRef< void>...
)

Public function Static

NodeType ...

 

SpawnNodeFromTemplate

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

Public function Static

FName

 

StaticGetTypeId()

Simple type info.

Overridden from FEdGraphSchemaAction

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

GC.

Public function Virtual Const

FName

 

GetTypeId()

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.