Editor model · function

buildInspectorPanel

Fill into with one row per inspector field.

function buildInspectorPanel(inspector: Inspector, into: UiNode): number
import { buildInspectorPanel } from '@driftengine/editor';

Parameters

ParameterTypeDescription
inspectorInspector
intoUiNode

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.