C# Class SparrowSharp.Utils.StatsDisplay

The statistics display is used internally by Sparrow to display statistical information. Use the 'ShowStats()' method of 'ViewController' to show it. _This is an internal class. You do not have to use it manually._
Inheritance: Sparrow.Display.Sprite
Afficher le fichier Open project: fmotagarcia/sparrow-sharp Class Usage Examples

Méthodes publiques

Свойство Type Description
FramesPerSecond double
NumDrawCalls int

Méthodes publiques

Méthode Description
OnAddedToStage ( DisplayObject target, DisplayObject currentTarget ) : void
OnEnterFrame ( DisplayObject target, float passedTime ) : void
StatsDisplay ( ) : System
Update ( ) : void

Method Details

OnAddedToStage() public méthode

public OnAddedToStage ( DisplayObject target, DisplayObject currentTarget ) : void
target Sparrow.Display.DisplayObject
currentTarget Sparrow.Display.DisplayObject
Résultat void

OnEnterFrame() public méthode

public OnEnterFrame ( DisplayObject target, float passedTime ) : void
target Sparrow.Display.DisplayObject
passedTime float
Résultat void

StatsDisplay() public méthode

public StatsDisplay ( ) : System
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

FramesPerSecond public_oe property

The actual frame rate, i.e. the number of frames rendered per second.
public double FramesPerSecond
Résultat double

NumDrawCalls public_oe property

The number of draw calls per frame.
public int NumDrawCalls
Résultat int