Files
UnrealEngineUWP/Engine/Source/Editor/GraphEditor/Private/NodeFactory.h
2014-03-14 14:13:41 -04:00

15 lines
432 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
/** Class that decides which widget type to create for a given data object */
class GRAPHEDITOR_API FNodeFactory
{
public:
/** Create a widget for the supplied node */
static TSharedPtr<SGraphNode> CreateNodeWidget(UEdGraphNode* InNode);
/** Create a widget for the supplied pin */
static TSharedPtr<SGraphPin> CreatePinWidget(UEdGraphPin* InPin);
};