FPSMeter Class
Class com.blitzagency.xray.FPSMeter
Inheritance
>
FPSMeter
FPSMeter is a simple Frames per second meter. You can either turn it on in the interface or leave the connector on
stage, choose "true" in the PI for the showFPS option and it'll display a quick and dirty FPS meter right there
without having to use the interface
| Constructor Summary |
|---|
| private | |
| Property Summary |
|---|
| String | |
| static FPSMeter | |
| Boolean | |
| Number | |
| Boolean | |
| Function | |
| Number | |
| Function | |
| TextField | |
| String | the current fps property |
| private Number | |
| Boolean | |
| Number | |
| Number | |
| Number | |
| Number | |
| Array | |
| Number | |
| Function | |
| Boolean | |
| Method Summary |
|---|
| static FPSMeter | |
| Void | |
| | |
| Event Summary |
|---|
| | An event that is triggered when the fps setter has been updated. |
FPSMeter
private function FPSMeter()
_fps
public var _fps:String;
_instance
public static var _instance:FPSMeter;
_modus
public var _modus:Boolean;
_pollInterval
public var _pollInterval:Number;
_runFPS
public var _runFPS:Boolean;
addEventListener
var addEventListener:Function;
delta
public var delta:Number;
dispatchEvent
var dispatchEvent:Function;
display
public var display:TextField;
fps
public function get/set fps():String
Returns:
String representing the Frames Per Second
fpsSI
private var fpsSI:Number;
modus
public function get/set modus():Boolean
now
public var now:Number;
pass
public var pass:Number;
past
public var past:Number;
pollInterval
public function get/set pollInterval():Number
population
public var population:Array;
populationSize
public var populationSize:Number;
removeEventListener
var removeEventListener:Function;
runFPS
public function get/set runFPS():Boolean
getInstance
public static function getInstance():FPSMeter
init
public function init():Void
update
public function update()
onFpsUpdate
function onFpsUpdate(eventObj)
Returns:
Object with one property: fps
Documentation generated by BLDoc Community Edition from B-Line Express.