Files
UnrealEngineUWP/Engine/Source/Editor/GraphEditor/Private/MaterialNodes/SGraphNodeMaterialComment.h
Ben Marsh 530369c613 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4662695 by Ben Marsh in Dev-Build branch]
2018-12-14 14:49:12 -05:00

27 lines
704 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "SGraphNodeComment.h"
class UMaterialGraphNode_Comment;
class SGraphNodeMaterialComment : public SGraphNodeComment
{
public:
SLATE_BEGIN_ARGS(SGraphNodeMaterialComment){}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, class UMaterialGraphNode_Comment* InNode);
// SNodePanel::SNode interface
virtual void MoveTo(const FVector2D& NewPosition, FNodeSet& NodeFilter) override;
// End of SNodePanel::SNode interface
private:
/** Cached material graph node pointer to avoid casting */
UMaterialGraphNode_Comment* CommentNode;
};