Skip to main content

process_events

Function process_events 

Source
pub fn process_events(
    state: &mut InputState,
    inputs: &[InputEvent],
    world: &mut GameWorld,
    editor_state: &Arc<Mutex<EditorState>>,
    camera: &Arc<Mutex<EditorCamera>>,
)
Expand description

Drive the editor camera + global shortcuts off the per-frame input queue produced by the engine. World access is needed for Delete.