Skip to main content

Module state

Module state 

Source
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§

AssetEntry
A lightweight description of an asset for the asset browser panel.
ComponentJson
Snapshot of one component on an inspected entity, captured generically as JSON via the macro-generated to_json on ComponentRegistration.
EditorState
Shared editor state populated by Application::update() each frame.
InspectedEntity
Snapshot of an inspected entity.
LogEntry
A captured log entry for the console panel.
SceneNode
A lightweight description of an entity in the scene tree.
StatusBarData
Status bar data displayed at the bottom of the editor.

Enums§

EditorMode
The active editing workspace, switched via the left “spine” mode bar.
EntityIcon
Icon hint for the scene tree.
GizmoMode
The active gizmo tool in the viewport toolbar.
LogLevel
Log severity matching log::Level.
PlayMode
The play-mode state of the editor.
PropertyEdit
A property edit to apply back to the ECS world.