namespace Editor.ShaderGraph; [Icon( "notes" ), Hide] public class CommentNode : BaseNode, ICommentNode { [Hide, Browsable( false )] public Vector2 Size { get; set; } public CommentColor Color { get; set; } = CommentColor.Green; public string Title { get; set; } = "Untitled"; [TextArea] public string Description { get; set; } = ""; [Hide, Browsable( false )] public int Layer { get; set; } = 5; [Hide, JsonIgnore] public override DisplayInfo DisplayInfo { get { var info = DisplayInfo.For( this ); info.Name = Title; info.Description = Description; return info; } } public override NodeUI CreateUI( GraphView view ) { return new CommentUI( view, this ); } }