Catlike Coding
Unity Code Documentation
Public Attributes | Properties | List of all members
CatlikeCoding.Utilities.FPSCounter Class Reference

Component that keeps track of the maximum, minimum, and average frame rate. More...

Inherits MonoBehaviour.

Public Attributes

int frameRange = 60
 The amount of successive frame times to consider to determine the max, min, and average frame rate. More...
 

Properties

int AverageFPS [get, set]
 Get the average frame rate. More...
 
int HighestFPS [get, set]
 Get the higest frame rate. More...
 
int LowestFPS [get, set]
 Get the lowest frame rate. More...
 

Detailed Description

Component that keeps track of the maximum, minimum, and average frame rate.

Member Data Documentation

int CatlikeCoding.Utilities.FPSCounter.frameRange = 60

The amount of successive frame times to consider to determine the max, min, and average frame rate.

Property Documentation

int CatlikeCoding.Utilities.FPSCounter.AverageFPS
getset

Get the average frame rate.

int CatlikeCoding.Utilities.FPSCounter.HighestFPS
getset

Get the higest frame rate.

int CatlikeCoding.Utilities.FPSCounter.LowestFPS
getset

Get the lowest frame rate.