Skip to main content

Module overlay

Module overlay 

Source
Expand description

Translucent stats bars painted over video.

DebugOverlay draws a bar of clickable sections along the bottom of a video. It shows the stats of a [Player] or a [LocalBroadcast]. The stats carry only current values, so the overlay keeps its own short history for the sparklines.

fit_to_aspect sizes a video to the space it has.

Structs§

DebugOverlay
A debug overlay with a bottom bar and detail panels.

Enums§

StatCategory
A section of the overlay’s bottom bar.

Functions§

fit_to_aspect
Returns the largest size that fits available and keeps aspect.