Skip to main content

Module inspector

Module inspector 

Source
Expand description

Inspector widget library — header, cards, JSON property walker, tabs.

Layout:

  • header — panel-top entity strip (icon + name + tags)
  • card — collapsible component card frame
  • walker — JSON Value → widget walker (single source)
  • renderers — per-shape leaf renderers (Vec3, Quat, Color, …)
  • add_component — “+ Add Component” menu, bucketed by domain
  • display — icon / type-tag / category labels
  • tabsInspectorTab trait + Properties / Debug

Modules§

add_component
“+ Add Component” menu — bucketed by SemanticDomain (live World).
asset_pane
Inspector asset-metadata pane.
card
Component group — one collapsible section per component on the entity.
display
Display heuristics — icon, type tag, category labels for the Inspector.
header
Inspector header — composite widget used by the Properties panel.
renderers
Per-shape leaf renderers + numeric helpers.
tabs
Inspector tabs — Properties and Debug. Adding a third tab is a matter of implementing InspectorTab and adding it to the panel’s tabs vector at construction time.
tag_chips
Custom inspector renderer for the Tag component.
walker
Generic JSON walker — single source of truth for “show a component”.