FpsSampler
Index
Constructors
constructor
Parameters
options: FpsSamplerOptions
Returns FpsSampler
Accessors
fps
Returns number
instant
Return the instantaneous fps, this can be less useful because it will fluctuate given the current frames time
Returns number
Methods
end
End of code block to sample FPS for
Returns void
start
Start of code block to sample FPS for
Returns void
Return the currently sampled fps over the last sample period, by default every 100ms