// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once 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; };