Interface ISceneEditingContext
Shared interface for scene editing utilities.
Namespace: FlaxEditor
Assembly: FlaxEngine.CSharp.dll
Syntax
public interface ISceneEditingContext
Properties
Selection
Gets the list of selected scene graph nodes in the editor context.
Declaration
List<SceneGraphNode> Selection { get; }
Property Value
System.Collections.Generic.List<FlaxEditor.SceneGraph.SceneGraphNode>
|
Viewport
Gets the main or last editor viewport used for scene editing within this context.
Declaration
EditorViewport Viewport { get; }
Property Value
EditorViewport
|
Methods
Deselect(SceneGraphNode)
Deselects node.
Declaration
void Deselect(SceneGraphNode node)
Parameters
FlaxEditor.SceneGraph.SceneGraphNode
node
The node to deselect. |
FocusSelection()
Focuses selected objects.
Declaration
void FocusSelection()
RenameSelection()
Opends popup for renaming selected objects.
Declaration
void RenameSelection()
Select(SceneGraphNode, Boolean)
Selects the specified node.
Declaration
void Select(SceneGraphNode node, bool additive = false)
Parameters
FlaxEditor.SceneGraph.SceneGraphNode
node
The node. |
System.Boolean
additive
if set to |