Class MasterDockPanel
Master Dock Panel control used as a root control for dockable windows workspace.
Implements
System.IComparable
Namespace: FlaxEditor.GUI.Docking
Assembly: FlaxEngine.CSharp.dll
Syntax
public class MasterDockPanel : DockPanel, IComparable, IDrawable
Constructors
MasterDockPanel()
Fields
FloatingPanels
Array with all floating windows for that master panel.
Declaration
public readonly List<FloatWindowDockPanel> FloatingPanels
Field Value
System.Collections.Generic.List<FloatWindowDockPanel>
|
Windows
Array with all created dock windows for that master panel.
Declaration
public readonly List<DockWindow> Windows
Field Value
System.Collections.Generic.List<DockWindow>
|
Properties
IsMaster
Returns true if this panel is a master panel.
Declaration
public override bool IsMaster { get; }
Property Value
System.Boolean
|
Overrides
VisibleWindowsCount
Gets the visible windows count.
Declaration
public int VisibleWindowsCount { get; }
Property Value
System.Int32
The visible windows count. |
Methods
HitTest(ref Float2, FloatWindowDockPanel)
Performs hit test over dock panel.
Declaration
public DockPanel HitTest(ref Float2 position, FloatWindowDockPanel excluded)
Parameters
Float2
position
Screen space position to test. |
FloatWindowDockPanel
excluded
Floating window to omit during searching (and all docked to that one). |
Returns
DockPanel
Dock panel that has been hit or null if nothing found. |
OnDestroy()
Method called when managed instance should be destroyed
Declaration
public override void OnDestroy()
Overrides
ResetLayout()
Resets windows layout.
Declaration
public void ResetLayout()
TryGetDockState(out Single)
Try get panel dock state
Declaration
public override DockState TryGetDockState(out float splitterValue)
Parameters
System.Single
splitterValue
Splitter value |
Returns
FlaxEditor.GUI.Docking.DockState
Dock State |