Expand description
Inspector asset-metadata pane.
When the user selects an asset in the browser, the Properties panel switches from per-entity component cards to this pane: file metadata, source path, and a couple of OS-level actions (Reveal in Explorer, Open Externally). Phase 5 entry β per-type preview cards (texture image, mesh stats, audio duration) come in a follow-up.
FunctionsΒ§
- days_
to_ πymd - Convert days since the Unix epoch to (year, month, day). Used only for the Inspector mtime label.
- format_
mtime π - format_
size π - paint_
asset_ header - Header line for asset mode β re-uses the entity Inspector header widget so the visual rhythm matches.
- paint_
kv_ πrow - One row of βkey β valueβ inside the metadata card.
- render_
asset_ pane - Render the asset metadata pane. Returns the y coordinate after the last painted block.