Editor model · function
buildInspectorPanel
Fill into with one row per inspector field.
function buildInspectorPanel(inspector: Inspector, into: UiNode): numberimport { buildInspectorPanel } from '@driftengine/editor';Parameters
| Parameter | Type | Description |
|---|---|---|
inspector | Inspector | |
into | UiNode |
In depth
The label carries the group where a field belongs to a component, because two components can
declare the same field name and a panel showing health twice with no way to tell them apart is
worse than one that is a little wordier.