// Copyright (c) Wojciech Figat. All rights reserved. using System.Collections.Generic; using FlaxEditor.SceneGraph; using FlaxEditor.Viewport; namespace FlaxEditor { /// /// Shared interface for scene editing utilities. /// public interface ISceneEditingContext { /// /// Gets the main or last editor viewport used for scene editing within this context. /// EditorViewport Viewport { get; } /// /// Gets the list of selected scene graph nodes in the editor context. /// List Selection { get; } /// /// Selects the specified node. /// /// The node. /// if set to true will use additive mode, otherwise will clear previous selection. void Select(SceneGraphNode node, bool additive = false); /// /// Deselects node. /// /// The node to deselect. void Deselect(SceneGraphNode node); /// /// Opends popup for renaming selected objects. /// void RenameSelection(); /// /// Focuses selected objects. /// void FocusSelection(); } }