Class createjs.Ticker.PerformanceCounter
Defined in: ticker.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A class that collects the specified number of values.
|
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
addValue(value)
Adds a value to this object.
|
|
Returns the average of the values stored in this object.
|
|
getFPS()
Returns the frames per second.
|
Class Detail
createjs.Ticker.PerformanceCounter()
A class that collects the specified number of values.
Field Detail
offset_
values_
Method Detail
addValue(value)
Adds a value to this object.
- Parameters:
- {number} value
{number}
getAverage()
Returns the average of the values stored in this object.
- Returns:
- {number}
{number}
getFPS()
Returns the frames per second.
- Returns:
- {number}