Sandbox Logo

perfmon

Simple FPS and Ping display
To use, set your root panel to PerfmonRoot or add a child Panel called Perfmon
using Perfmon;
/*
  bool draw = true
  bool drawFPS = true
  bool drawPing = false
  IClient client = null // Used for ping meter
  float updateRate = 1f // How fast updates should be
*/
Game.RootPanel = new PerfmonRoot();

// or...

AddChild(new Perfmon());
Uses Fira Code (https://github.com/tonsky/FiraCode)

Reviews

perfmon

FPS and ping meter

Created
9/2/2023
Updated
9/2/2023
In Collections
Referenced By
Dependencies
Reviews