// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. using FlaxEngine; namespace FlaxEditor.Surface { /// /// Interface for Visject Surface parent objects. /// [HideInEditor] public interface IVisjectSurfaceOwner : ISurfaceContext { /// /// Gets the undo system for actions (can be null if not used). /// FlaxEditor.Undo Undo { get; } /// /// On surface edited state gets changed /// void OnSurfaceEditedChanged(); /// /// On surface graph edited /// void OnSurfaceGraphEdited(); /// /// Called when surface wants to close the tool window (due to user interaction or sth else). /// void OnSurfaceClose(); } }