FEdGraphSchemaAction_K2NewNode

Action to add a node to the graph

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

UK2Node *

 

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss