C# Class Nez.Console.DebugConsole

ファイルを表示 Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
instance DebugConsole
renderScale float

Public Methods

Method Description
bindActionToFunctionKey ( int functionKey, System.Action action ) : void
log ( Exception e ) : void
log ( object obj ) : void
log ( string format ) : void

Private Methods

Method Description
DebugConsole ( ) : System
argBool ( string arg ) : bool
argFloat ( string arg ) : float
argInt ( string arg ) : int
argString ( string arg ) : string
buildCommandsList ( ) : void
clear ( ) : void
debugRender ( ) : void
enterCommand ( ) : void
entityCount ( int tagIndex = -1 ) : void
executeCommand ( string command, string args ) : void
executeFunctionKeyAction ( int num ) : void
exit ( ) : void
findFirstTab ( ) : void
findLastTab ( ) : void
fixedTimestep ( bool enabled = true ) : void
framerate ( float target = 60f ) : void
handleKey ( Keys key ) : void
help ( string command ) : void
inspectEntity ( string entityName = "" ) : void
logDrawCalls ( float delay = 1f ) : void
logEntities ( string whichAssets = "s" ) : void
logLoadedAssets ( string whichAssets = "s" ) : void
physics ( float secondsToDisplay = 5f ) : void
processAssembly ( Assembly assembly ) : void
processMethod ( MethodInfo method, CommandAttribute attr ) : void
render ( ) : void
renderableCount ( int renderLayer = int.MinValue ) : void
renderableLog ( int renderLayer = int.MinValue ) : void
setScale ( float scale = 1f ) : void
tilescale ( float timeScale = 1 ) : void
update ( ) : void
updateClosed ( ) : void
updateOpen ( ) : void
vsync ( bool enabled = true ) : void

Method Details

bindActionToFunctionKey() public static method

public static bindActionToFunctionKey ( int functionKey, System.Action action ) : void
functionKey int
action System.Action
return void

log() public method

public log ( Exception e ) : void
e System.Exception
return void

log() public method

public log ( object obj ) : void
obj object
return void

log() public method

public log ( string format ) : void
format string
return void

Property Details

instance public_oe static_oe property

public static DebugConsole,Nez.Console instance
return DebugConsole

renderScale public_oe static_oe property

controls the scale of the console
public static float renderScale
return float