API reference
Preparing search index…

ImGui.SetScrollHereY

  • Scroll vertically to reveal the current cursor position.

    Parameters

    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 current cursor position visible.

    center_y_ratio=0.0: top, 0.5: center, 1.0: bottom.

    When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead.

    Source & inheritance

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