Expand description
Editor input dispatch โ keyboard shortcuts + camera navigation.
Pulls per-frame InputEvents from EditorApp::update and routes them
to the editor camera, gizmo mode switches, the command palette and the
workspace shortcuts. Viewport-rect aware so dragging across panels does not
nudge the camera.
Structsยง
- Input
State - State of modifier keys + button drags that has to outlive a single
frame. Lives on
EditorAppand is mutated through this module.
Functionsยง
- cursor_
ray ๐ - The cursor ray for a screen position, or
Nonewhen the viewport has not been laid out yet. - process_
events - Drive the editor camera + global shortcuts off the per-frame input
queue produced by the engine. World access is needed for
Delete.