Files
UnrealEngineUWP/Engine/Source/Editor/GraphEditor/Private/MaterialNodes/SGraphNodeMaterialComment.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

27 lines
704 B
C++

// Copyright 1998-2017 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;
};