C# 클래스 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._
상속: Sparrow.Display.Sprite
파일 보기 프로젝트 열기: fmotagarcia/sparrow-sharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FramesPerSecond double
NumDrawCalls int

공개 메소드들

메소드 설명
OnAddedToStage ( DisplayObject target, DisplayObject currentTarget ) : void
OnEnterFrame ( DisplayObject target, float passedTime ) : void
StatsDisplay ( ) : System
Update ( ) : void

메소드 상세

OnAddedToStage() 공개 메소드

public OnAddedToStage ( DisplayObject target, DisplayObject currentTarget ) : void
target Sparrow.Display.DisplayObject
currentTarget Sparrow.Display.DisplayObject
리턴 void

OnEnterFrame() 공개 메소드

public OnEnterFrame ( DisplayObject target, float passedTime ) : void
target Sparrow.Display.DisplayObject
passedTime float
리턴 void

StatsDisplay() 공개 메소드

public StatsDisplay ( ) : System
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

FramesPerSecond 공개적으로 프로퍼티

The actual frame rate, i.e. the number of frames rendered per second.
public double FramesPerSecond
리턴 double

NumDrawCalls 공개적으로 프로퍼티

The number of draw calls per frame.
public int NumDrawCalls
리턴 int