OptionaldefaultStart collapsed to the round ⚙ button. Default false.
OptionalinitialSeed control values, per section. No layer reports its applied settings back today, so the widget OWNS this state and starts from documented defaults — pass what you constructed the layer with, or the panel will disagree with the scene until each control is touched.
OptionallabelsDisplay name for a layer. Defaults to its id, then its constructor name.
The layer to name.
The label to show in the header and the picker.
OptionallayerThe single layer to open.
OptionallayersSeveral layers, with a picker in the header. The first is opened.
OptionalonCalled on every change, before the DOM event.
Which section, which control, the new value, and the layer it was applied to.
OptionalpollHow often to re-probe for sections whose DATA has not arrived yet, in ms. Default 500.
0 disables the poll — call LayerSettingsWidget.refresh yourself.
OptionalsectionsRestrict and/or reorder the sections. Pass ids for the built-ins, or your own LayerSection objects. Default: every built-in section, in registry order.
OptionalshowRender the collapsed "Advanced" group. Default true.
Configuration for LayerSettingsWidget. Every field is optional except that you must give it something to drive —
layer, orlayersfor a picker across several.