API reference
Preparing search index…

ImGui.SetScrollFromPosY

  • Scroll to reveal a position within the current window.

    Parameters

    local_y
    number

    Position in the current window-local coordinate space, in pixels.

    center_y_ratio
    number = 0.5

    Alignment of the target in the visible region: 0 is the leading edge, 0.5 the center, and 1 the trailing edge.

    Returns

    void

    adjust scrolling amount to make given position visible.

    Generally GetCursorStartPos() + offset to compute a valid position.

    Source & inheritance

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