FBlueprintEditorUtils::CreateNewGraph

Creates a new empty graph.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Kismet2/BlueprintEditorUtils.h

Include

#include "Kismet2/BlueprintEditorUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Kismet2/BlueprintEditorUtils.cpp

Syntax

static UEdGraph * CreateNewGraph
(
    UObject * ParentScope,
    const FName & GraphName,
    TSubclassOf< class UEdGraph > GraphClass,
    TSubclassOf< class UEdGraphSchema > SchemaClass
)

Remarks

Creates a new empty graph.

Returns

null if it fails, else.

Parameters

Parameter

Description

ParentScope

The outer of the new graph (typically a blueprint).

GraphName

Name of the graph to add.

SchemaClass

Schema to use for the new graph.

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