Skip to content
Version 2.11.0
↓ Get the launcher

PerfControls.ClampRate method

Clamp an arbitrary rate into the supported [MinUpdateRateHz, MaxUpdateRateHz] range. Shared by the env resolver and the Settings persistence.

public static int ClampRate(int hz)