Module state
Expand description
Editor state shared between the application logic and UI panels.
The EditorState is populated by Application::update() every frame
with a lightweight snapshot of the ECS world. Editor panels read this
snapshot through a shared Arc<Mutex<EditorState>> retrieved from the
ServiceRegistry.
Structs§
- Asset
Entry - A lightweight description of an asset for the asset browser panel.
- Component
Json - Snapshot of one component on an inspected entity, captured generically
as JSON via the macro-generated
to_jsononComponentRegistration. - Editor
State - Shared editor state populated by
Application::update()each frame. - Inspected
Entity - Snapshot of an inspected entity.
- LogEntry
- A captured log entry for the console panel.
- Scene
Node - A lightweight description of an entity in the scene tree.
- Status
BarData - Status bar data displayed at the bottom of the editor.
Enums§
- Editor
Mode - The active editing workspace, switched via the left “spine” mode bar.
- Entity
Icon - Icon hint for the scene tree.
- Gizmo
Mode - The active gizmo tool in the viewport toolbar.
- LogLevel
- Log severity matching
log::Level. - Play
Mode - The play-mode state of the editor.
- Property
Edit - A property edit to apply back to the ECS world.