Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Checks pointer containment in a screen rectangle with optional window clipping.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public static bool InnoEditor.ImGui.ImGui.IsMouseHoveringRect(System.Numerics.Vector2 minimum, System.Numerics.Vector2 maximum, bool clip = true)

Parameter minimum: The inclusive lower bound or upper-left corner.

Parameter maximum: The inclusive upper bound or lower-right corner.

Parameter clip: Whether the current clipping rectangle participates.

True when the documented control event or condition is present; otherwise false.