Interface IPresenterOwner
The interface for Editor context that owns the presenter. Can be PropertiesWindow or PrefabWindow or other window/panel - custom editor scan use it for more specific features.
Namespace: FlaxEditor.CustomEditors
Assembly: FlaxEngine.CSharp.dll
Syntax
public interface IPresenterOwner
Properties
LockSelection
Indication of if the properties window is locked on specific objects.
Declaration
bool LockSelection { get; set; }
Property Value
|
System.Boolean
|
PresenterViewport
Gets the viewport linked with properties presenter (optional, null if unused).
Declaration
EditorViewport PresenterViewport { get; }
Property Value
|
EditorViewport
|
SceneContext
Gets the scene editing context.
Declaration
ISceneEditingContext SceneContext { get; }
Property Value
|
ISceneEditingContext
|
Selection
Gets the current selection.
Declaration
List<SceneGraphNode> Selection { get; }
Property Value
|
System.Collections.Generic.List<FlaxEditor.SceneGraph.SceneGraphNode>
|
Methods
Select(List<SceneGraphNode>)
Selects the scene objects.
Declaration
void Select(List<SceneGraphNode> nodes)
Parameters
|
System.Collections.Generic.List<FlaxEditor.SceneGraph.SceneGraphNode>
nodes
The nodes to select |