<node3d:GUI:progressbar>.length

This action will set the length of the progress bar

 

<node3d:GUI:progressbar>.length(
    value    

)

 

value

The length of the progress bar. This value is a scale factor, so setting the length to 2.0 will make the progress bar twice as long.


Remarks

This command will set the length of the progress bar. The length determines how much text can fit into the bar. This is different than setting the scale of the progress bar, which only makes the overall size larger.

Return Value

None

Example

pb = viz.addProgressBar('Progress')
pb.setPosition(0.5,0.5)
#Make the length twice as long
pb.length(2)