StatsOverlayOptions
Defined in: src/modules/stats/draw-stats-overlay.ts:4
Visual configuration for drawStatsOverlay.
Properties
Section titled “Properties”
optionalfont?:string
Defined in: src/modules/stats/draw-stats-overlay.ts:6
Monospace font for the readout (default ‘11px ui-monospace, monospace’).
graphHeight?
Section titled “graphHeight?”
optionalgraphHeight?:number
Defined in: src/modules/stats/draw-stats-overlay.ts:8
Sparkline height in pixels (default 32).
graphWidth?
Section titled “graphWidth?”
optionalgraphWidth?:number
Defined in: src/modules/stats/draw-stats-overlay.ts:10
Sparkline width in pixels (default 120).
logic?
Section titled “logic?”
optionallogic?:FrameStats
Defined in: src/modules/stats/draw-stats-overlay.ts:12
Optional second collector (e.g. logic-tick ms) shown as a “logic” ms line.
targetMs?
Section titled “targetMs?”
optionaltargetMs?:number
Defined in: src/modules/stats/draw-stats-overlay.ts:14
Frame-time target (ms) for the sparkline threshold line (default 16.6 ≈ 60fps).
optionalx?:number
Defined in: src/modules/stats/draw-stats-overlay.ts:16
Top-left x of the panel in screen pixels (default 8).
optionaly?:number
Defined in: src/modules/stats/draw-stats-overlay.ts:18
Top-left y of the panel in screen pixels (default 8).