Documentation

UI::ProgressBar

Function

void UI::ProgressBar(float fraction, const vec2&in size = vec2 ( - 1 , 0 ), const string&in overlay = "")

Progress bar.

float fraction

The progress value between 0 and 1

vec2 size

For each axis, < 0.0f: align to end, 0.0f: auto, > 0.0f: specified size

string overlay