FEdGraphSchemaAction_NewNode

Action to add a node to the graph

Windows
MacOS
Linux

Inheritance Hierarchy

FEdGraphSchemaAction

FEdGraphSchemaAction_NewNode

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h

Include

#include "EdGraph/EdGraphSchema.h"

Syntax

struct FEdGraphSchemaAction_NewNode : public FEdGraphSchemaAction

Remarks

Action to add a node to the graph

Variables

Name Description

Public variable

UEdGraphNode &#...

 

NodeTemplate

Template of node we want to create

Constructors

Name Description

Public function

FEdGraphSchemaAction_NewNode()

Public function

FEdGraphSchemaAction_NewNode

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

Functions

Name Description

Public function Static

UEdGraphNode...

 

CreateNode

(
    UEdGraph* ParentGraph,
    UEdGraphPin* FromPin,
    const FVector2D Location,
    UEdGraphNode* InNodeTemplate
)

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback