struct
FEditorDockPanelDesc
A dock panel that can exist more than once. Separate from FEditorPanelDesc above, which describes an asset-editor DOCUMENT kind: this one describes a docked tool panel and the shape the audit's R9 asked for — a declared ceiling and a factory, instead of one by-value member reached through a hardcoded id.
- Module
- EditorFramework
- Header
#include "EditorFramework/EditorPanelRegistry.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::string | Kind | Tab kind, e.g. "ContentBrowser". Instance 0 is spelled exactly this; extras are "<Kind>#<n>". |
std::string | Title | Base title. Extras append their 1-based instance number. |
std::string | Icon | Lucide glyph for the Window menu row. |
std::string | Neighbour | Tab an extra instance docks beside when the layout has no home for it. Empty = the kind itself. |
int32_t | MaxInstances | 1 = the singleton every dock panel used to be, and the Window menu never offers a second one. A kind raises this only once a second instance is genuinely driven end to end — a tab that exists but is never ticked or never rendered is worse than no command at all. Default 1. |
bool | CreatesPrimary | Instance 0 comes from Create as well. True for every panel a plugin registers — the shell has no member for it, so without this the kind could only ever have had "extra" instances of a first one that never exists. The editor's own dock panels build instance 0 as a shell member and set it false. Default true. |
std::function<FEditorDockPanelInstance(int32_t instanceIndex)> | Create |
Generated from EditorFramework/EditorPanelRegistry.h via editorframework.json · Nov 2, 2026Version 1.0.0