Synced
EditorGameInputCapture.Route
Section titled “EditorGameInputCapture.Route”
- Filters an engine event through the current Game View focus and pointer bounds.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public Inno.Core.Events.Event? Inno.Editor.ImGui.EditorGameInputCapture.Route(Inno.Core.Events.Event evnt)Parameters
Section titled “Parameters”Parameter evnt: The original backend-neutral platform event.
Returns
Section titled “Returns”A routed event or a synthetic focus reset, or null when the Game View must not receive input.
Remarks
Section titled “Remarks”A globally consumed key, button, focus or close release is not replayed to the game. It returns a new focus-reset event so previously held input is released before simulation. Consumed pointer movement still updates hit-test bounds without reaching the game backend.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when the event is null.