Files
UnrealEngineUWP/Engine/Source/Editor/GraphEditor/Private/MaterialNodes/SGraphNodeMaterialResult.h
daren cheng 9a9a0cb1f9 Edigrate 16359780.
Don't create transactions except on release when moving nodes.

#jira UE-115317
#rb Francis.Hurteau, Patrick.Boutot
#preflight 60a3ff23733ad00001685c6a

[CL 16373994 by daren cheng in ue5-main branch]
2021-05-18 15:26:27 -04:00

32 lines
832 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "SGraphNode.h"
class FGraphNodeMetaData;
class UMaterialGraphNode_Root;
class SGraphNodeMaterialResult : public SGraphNode
{
public:
SLATE_BEGIN_ARGS(SGraphNodeMaterialResult){}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, class UMaterialGraphNode_Root* InNode);
// SGraphNode interface
virtual void CreatePinWidgets() override;
virtual void PopulateMetaTag(FGraphNodeMetaData* TagMeta) const override;
// End of SGraphNode interface
// SNodePanel::SNode interface
virtual void MoveTo(const FVector2D& NewPosition, FNodeSet& NodeFilter, bool bMarkDirty = true) override;
// End of SNodePanel::SNode interface
private:
UMaterialGraphNode_Root* RootNode;
};