Panda3D Manual: DirectWaitBar
  <<prev top next>>  

DirectWaitBars are similar to status bars; use them to indicate a slow process gradually completing (e.g. a loading screen). It has various options for both the background bar and the loading bar that fills up as the process progresses. You can call finish() to automatically fill up the bar, or use:

myWaitBar['value'] = number

to set the value (it ranges from 0 to 100 by default).

KeywordDefinitionValue
valueInitial value of the loading bar (from 0 to 100)Number
rangeThe maximum value of the loading barNumber
barColorThe color of the loading bar(R,G,B,A)
barReliefThe relief appearance of the loading barSUNKEN or RAISED
barBorderWidthIf barRelief is SUNKEN, RAISED, GROOVE, or RIDGE, changes the size of the loading bar's bevel(Width,Height)
reliefThe relief appearance of the background barSUNKEN or RAISED
  <<prev top next>>