Files
UnrealEngineUWP/Engine/Source/Developer/VisualGraphUtils/Public/VisualGraphNode.h

32 lines
678 B
C
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "VisualGraphElement.h"
class VISUALGRAPHUTILS_API FVisualGraphNode : public FVisualGraphElement
{
public:
FVisualGraphNode()
: FVisualGraphElement()
, Shape()
, SubGraphIndex(INDEX_NONE)
{}
virtual ~FVisualGraphNode() override {}
TOptional<EVisualGraphShape> GetShape() const { return Shape; }
void SetShape(EVisualGraphShape InValue) { Shape = InValue; }
protected:
virtual FString DumpDot(const FVisualGraph* InGraph, int32 InIndendation) const override;
TOptional<EVisualGraphShape> Shape;
int32 SubGraphIndex;
friend class FVisualGraph;
friend class FVisualGraphSubGraph;
};