C# Класс Nez.Debug

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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