C# 클래스 Nez.Debug

파일 보기 프로젝트 열기: prime31/Nez

공개 프로퍼티들

프로퍼티 타입 설명
drawTextFromBottom bool

공개 메소드들

메소드 설명
timeAction ( System.Action action, uint numberOfIterations = 1 ) : System.TimeSpan

times how long an Action takes to run and returns the TimeSpan

비공개 메소드들

메소드 설명
breakIf ( bool condition ) : void
break_ ( ) : void
drawHollowBox ( Vector2 center, int size, Color color, float duration = 0f ) : void
drawHollowRect ( Rectangle rectangle, Color color, float duration = 0f ) : void
drawLine ( Vector2 start, Vector2 end, Color color, float duration = 0f ) : void
drawPixel ( Vector2 position, int size, Color color, float duration = 0f ) : void
drawPixel ( float x, float y, int size, Color color, float duration = 0f ) : void
drawText ( BitmapFont font, string text, Vector2 position, Color color, float duration = 0f, float scale = 1f ) : void
drawText ( NezSpriteFont font, string text, Vector2 position, Color color, float duration = 0f, float scale = 1f ) : void
drawText ( string format ) : void
drawText ( string text, Color color, float duration = 1f, float scale = 1f ) : void
drawText ( string text, float duration ) : void
error ( string format ) : void
errorIf ( bool condition, string format ) : void
info ( string format ) : void
log ( LogType type, string format ) : void
log ( object obj ) : void
log ( string format ) : void
logIf ( bool condition, string format ) : void
render ( ) : void
trace ( string format ) : void
warn ( string format ) : void
warnIf ( bool condition, string format ) : void

메소드 상세

timeAction() 공개 정적인 메소드

times how long an Action takes to run and returns the TimeSpan
public static timeAction ( System.Action action, uint numberOfIterations = 1 ) : System.TimeSpan
action System.Action Action.
numberOfIterations uint
리턴 System.TimeSpan

프로퍼티 상세

drawTextFromBottom 공개적으로 정적으로 프로퍼티

public static bool drawTextFromBottom
리턴 bool