Documentation

UI::Plot::GetPlotSelection

Function

vec4 UI::Plot::GetPlotSelection(Axis x_axis = UI::Plot::Axis::Auto, Axis y_axis = UI::Plot::Axis::Auto)

Returns the current plot box selection bounds in the form of vec4(x_min, y_min, x_max, y_max). Passing UI::Plot::Axis::Auto uses the current axes.

Returns vec4