Synced
EditorGameInputCapture.Report
Section titled “EditorGameInputCapture.Report”
- Reports the Game View image in coordinates local to its platform window.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.ImGui.EditorGameInputCapture.Report(uint viewportId, System.Numerics.Vector2 origin, System.Numerics.Vector2 size, bool focused, bool hovered)Parameters
Section titled “Parameters”Parameter viewportId: The presentation viewport containing the Game View.
Parameter origin: The image’s upper-left corner relative to that window.
Parameter size: The visible image size in logical pixels.
Parameter focused: Whether the Game View is selected and its platform window has focus.
Parameter hovered: Whether the image is inside the frontmost hovered ImGui window.
Returns
Section titled “Returns”true when the Game View and its platform window both own focus.