public record class PanelDescriptorA panel the editor can show: an id, a name, and what fills it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A factory rather than an element, and the panel is built lazily. An editor with thirty registered panels shows six; building the other twenty-four at start-up would cost a scene view, a profiler and a node graph that nobody asked for. It is also what lets a saved layout name a panel a plugin has not registered yet — the tab appears when it does.
Fields and properties (5)
public string IdWhat a saved layout calls it. Stable across versions, because it is written into a file on the user's disk the first time they move the panel.
public StringId TitleWhat its tab says.
public Action<DockPanel> BuildFills the panel. Called once, when the panel is first shown.
public bool CanCloseWhether the user may close it.
public Action? ClosedCalled after the panel leaves the arrangement, however it left.
Methods (1)
Used by (8)
- DockingWorkspaceVixen.Editor.Ui
- EditorApplicationVixen.Editor.App
- EditorSessionVixen.Editor.Testing
- EditorShellVixen.Editor.Ui
- LoadingTestsVixen.Editor.Plugin.Tests
- MilestoneE3TestsVixen.Editor.App.Tests
- PluginContextVixen.Editor.Plugin
- TerrainPanelTestsVixen.Editor.App.Tests