Hierarchy

  • FpsSamplerOptions

Properties

initialFps: number

Specify the initial FPS

nowFn: (() => number)

Type declaration

    • (): number
    • Specify the function used to return the current time (in milliseconds)

      Returns number

samplePeriod?: number

Specify the sampling period in milliseconds (default 100)