Expand description
In-Engine Editor — master state, camera, undo/redo, grid, shortcuts.
This module is the entry point for the editor subsystem. It owns the
top-level EditorState and wires together all sub-panels.
Re-exports§
pub use inspector::Inspector;pub use hierarchy::HierarchyPanel;pub use console::DevConsole;pub use gizmos::GizmoRenderer;
Modules§
- console
- Developer console — command dispatcher, log ring-buffer, expression evaluator, auto-complete and history.
- gizmos
- Gizmo renderer — 3D manipulation handles, measurement, annotations, selection outlines, light/collider/frustum/path/vector-field visualisations.
- hierarchy
- Hierarchy panel — scene-tree view with full drag-drop, multi-select, prefab support, search/filter, undo, serialisation and keyboard navigation.
- inspector
- Inspector panel — property editor for any scene object.
Structs§
- Delete
Entity Command - Delete an entity from the scene.
- Editor
Camera - Free-fly camera that is completely independent of the game camera. Controlled by WASD + mouse look in the editor viewport.
- Editor
Config - Persistent editor preferences.
- Editor
Layout - Editor
State - The top-level editor state. Owns everything the editor needs to function.
- Editor
Stats - Live performance / scene statistics displayed in the editor overlay.
- Entity
Id - Opaque handle to a scene entity.
- GlyphId
- Opaque handle to a glyph.
- Grid
Renderer - Configuration and rendering logic for the infinite editor grid.
- Group
Selection Command - Group multiple entities together under a shared label.
- Move
Entity Command - Move one or more entities by a delta vector.
- Panel
Rect - Which editor panels are currently visible and their pixel bounds.
- Selection
Set - Tracks which entities / glyphs are currently selected in the editor.
- SetProperty
Command - Set a named string property on an entity.
- Shortcut
- A keyboard shortcut (key + modifiers).
- Shortcut
Registry - Maps shortcuts to editor actions.
- Spawn
Entity Command - Spawn an entity at a given position.
- Undo
History - Ring-buffer undo/redo stack (max 200 entries).
Enums§
- Editor
Action - Action the shortcut should trigger.
- Editor
Mode - The current operational mode of the editor.
- Editor
Theme - Visual colour scheme for the editor UI.
- PanelId
Traits§
- Editor
Command - Trait that every undoable editor command must implement.