API reference
Preparing search index…

ImGui.IsMouseHoveringRectEx

  • Test whether the mouse is inside a screen-space rectangle.

    Parameters

    r_min

    Top-left corner of the rectangle in absolute screen coordinates.

    r_max

    Bottom-right corner of the rectangle in absolute screen coordinates.

    clip
    boolean = true

    Whether to intersect the rectangle with the current clipping rectangle.

    Returns

    boolean

    True if the mouse lies inside the screen rectangle, optionally intersected with the current clip rectangle; false otherwise.

    is mouse hovering given bounding rect (in screen space).

    clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0