Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: RT.Util.FpsCounter

Summary

Measures frame rate statistics (or, more generally, statistics of any event occurring multiple times in real time).

Constructors

Constructor.

Instance methods

double?Counts another frame and updates all statistics. Returns the time since the last frame, or null if this is the first counted frame.
voidResets all statistics.

Instance properties

doubleGets the average number of frames per second, over the last second.
doubleGets the average length of one frame over the past second, in seconds.
doubleGets the length of the last frame, in seconds.
doubleGets the maximum length of one frame over the past second, in seconds.
doubleGets the minimum length of one frame over the past second, in seconds.