Documentation

UI::SetScrollFromPosY

Function

void UI::SetScrollFromPosY(float local_y, float center_y_ratio = 0.5f)

Adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position.

float local_y

float center_y_ratio