Class SceneEditorWindow
Base class for editor windows dedicated to scene editing.
Inheritance
System.Object
FlaxEngine.GUI.ScrollableControl
SceneEditorWindow
Namespace: FlaxEditor.Windows
Assembly: FlaxEngine.CSharp.dll
Syntax
public abstract class SceneEditorWindow : EditorWindow, IComparable, IDrawable, ISceneEditingContext
Constructors
SceneEditorWindow(Editor, Boolean, ScrollBars)
Initializes a new instance of the SceneEditorWindow class.
Declaration
protected SceneEditorWindow(Editor editor, bool hideOnClose, ScrollBars scrollBars)
Parameters
Editor
editor
The editor. |
System.Boolean
hideOnClose
True if hide window on closing, otherwise it will be destroyed. |
ScrollBars
scrollBars
The scroll bars. |
Properties
Selection
Gets the list of selected scene graph nodes in the editor context.
Declaration
public List<SceneGraphNode> Selection { get; }
Property Value
System.Collections.Generic.List<FlaxEditor.SceneGraph.SceneGraphNode>
|
Implements
Viewport
Gets the main or last editor viewport used for scene editing within this context.
Declaration
public EditorViewport Viewport { get; }
Property Value
EditorViewport
|
Implements
Methods
Deselect(SceneGraphNode)
Deselects node.
Declaration
public void Deselect(SceneGraphNode node)
Parameters
FlaxEditor.SceneGraph.SceneGraphNode
node
The node to deselect. |
Implements
FocusSelection()
Focuses selected objects.
Declaration
public void FocusSelection()
Implements
RenameSelection()
Opends popup for renaming selected objects.
Declaration
public void RenameSelection()
Implements
Select(SceneGraphNode, Boolean)
Selects the specified node.
Declaration
public void Select(SceneGraphNode node, bool additive = false)
Parameters
FlaxEditor.SceneGraph.SceneGraphNode
node
The node. |
System.Boolean
additive
if set to |