mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-31 01:55:15 +00:00
Binds the full metrics display to CTRL+F2 while in-game. Escape Closes.
This commit is contained in:
parent
d0a64026b0
commit
c514841ebb
4 changed files with 14 additions and 2 deletions
|
|
@ -23,6 +23,8 @@
|
|||
modal = "True";
|
||||
helpTag = "0";
|
||||
expression = "10";
|
||||
command = "Canvas.popDialog(FrameOverlayGui);";
|
||||
accelerator = "escape";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
|
|
|||
|
|
@ -441,7 +441,11 @@ GlobalActionMap.bind(keyboard, "ctrl o", bringUpOptions);
|
|||
//------------------------------------------------------------------------------
|
||||
// Debugging Functions
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function showmetrics(%val)
|
||||
{
|
||||
metrics("FPS GFX SHADOW SFX TERRAIN GROUNDCOVER FOREST NET");
|
||||
}
|
||||
GlobalActionMap.bind(keyboard, "ctrl F2", showmetrics);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@
|
|||
modal = "True";
|
||||
helpTag = "0";
|
||||
expression = "10";
|
||||
command = "Canvas.popDialog(FrameOverlayGui);";
|
||||
accelerator = "escape";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
|
|
|||
|
|
@ -615,7 +615,11 @@ GlobalActionMap.bind(keyboard, "ctrl o", bringUpOptions);
|
|||
//------------------------------------------------------------------------------
|
||||
// Debugging Functions
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function showmetrics(%val)
|
||||
{
|
||||
metrics("FPS GFX SHADOW SFX TERRAIN GROUNDCOVER FOREST NET");
|
||||
}
|
||||
GlobalActionMap.bind(keyboard, "ctrl F2", showmetrics);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue