mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 12:44:46 +00:00
371 lines
12 KiB
Plaintext
371 lines
12 KiB
Plaintext
//--- OBJECT WRITE BEGIN ---
|
|
$guiContent = new GuiControl(ProfilerGraphGui) {
|
|
position = "0 0";
|
|
extent = "1024 768";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
profile = "ProfilerGraphProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "1";
|
|
noCursor = "1";
|
|
|
|
new GuiWindowCtrl() {
|
|
text = "Profiler";
|
|
resizeWidth = "1";
|
|
resizeHeight = "1";
|
|
canMove = "1";
|
|
canClose = "1";
|
|
canMinimize = "1";
|
|
canMaximize = "1";
|
|
canCollapse = "0";
|
|
edgeSnap = "1";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "96 232";
|
|
extent = "558 283";
|
|
minExtent = "8 2";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiWindowProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
|
|
new GuiTabBookCtrl() {
|
|
tabPosition = "Top";
|
|
tabMargin = "7";
|
|
minTabWidth = "64";
|
|
tabHeight = "20";
|
|
allowReorder = "0";
|
|
defaultPage = "-1";
|
|
selectedPage = "0";
|
|
frontTabPadding = "0";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "0 22";
|
|
extent = "554 261";
|
|
minExtent = "8 2";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiTabBookProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
|
|
new GuiTabPageCtrl() {
|
|
fitBook = "1";
|
|
text = "Main Render";
|
|
maxLength = "1024";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "0 20";
|
|
extent = "554 241";
|
|
minExtent = "8 2";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiTabPageProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
|
|
new GuiControl() {
|
|
position = "6 13";
|
|
extent = "103 223";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
profile = "ProfilerGraphKeyContainerProfile";
|
|
visible = "0";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
hidden = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
|
|
new GuiTextCtrl(GhostsActive) {
|
|
text = "Ghosts Active";
|
|
maxLength = "255";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "5 0";
|
|
extent = "100 18";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiTextProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiTextCtrl(GhostUpdates) {
|
|
text = "Ghost Updates";
|
|
maxLength = "255";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "3 72";
|
|
extent = "100 18";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiTextProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiTextCtrl(BitsSent) {
|
|
text = "Bytes Sent";
|
|
maxLength = "255";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "5 18";
|
|
extent = "100 18";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiTextProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiTextCtrl(BitsReceived) {
|
|
text = "Bytes Received";
|
|
maxLength = "255";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "3 90";
|
|
extent = "100 18";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiTextProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiTextCtrl(Latency) {
|
|
text = "Latency";
|
|
maxLength = "255";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "5 36";
|
|
extent = "100 18";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
profile = "ProfilerGraphLatencyProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiTextCtrl(PacketLoss) {
|
|
text = "Packet Loss";
|
|
maxLength = "255";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "3 108";
|
|
extent = "59 18";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
profile = "ProfilerGraphPacketLossProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
};
|
|
new GuiGraphCtrl(ProfilerGraph) {
|
|
centerY = "1";
|
|
plotColor[0] = "1 1 1 1";
|
|
plotColor[1] = "1 0 0 1";
|
|
plotColor[2] = "0 1 0 1";
|
|
plotColor[3] = "0 0 1 1";
|
|
plotColor[4] = "0 1 1 1";
|
|
plotColor[5] = "0 0 0 1";
|
|
plotType[0] = "PolyLine";
|
|
plotType[1] = "PolyLine";
|
|
plotType[2] = "PolyLine";
|
|
plotType[3] = "PolyLine";
|
|
plotType[4] = "PolyLine";
|
|
plotType[5] = "PolyLine";
|
|
plotInterval[0] = "0";
|
|
plotInterval[1] = "0";
|
|
plotInterval[2] = "0";
|
|
plotInterval[3] = "0";
|
|
plotInterval[4] = "0";
|
|
plotInterval[5] = "0";
|
|
position = "112 5";
|
|
extent = "440 231";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
profile = "ProfilerGraphKeyContainerProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "0";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
text = "Frame Rate";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
useMouseEvents = "0";
|
|
position = "9 0";
|
|
extent = "99 30";
|
|
minExtent = "8 2";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiCheckBoxProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "0";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
text = "Poly Count";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
useMouseEvents = "0";
|
|
position = "9 32";
|
|
extent = "99 30";
|
|
minExtent = "8 2";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiCheckBoxProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "0";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
text = "Draw Count";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
useMouseEvents = "0";
|
|
position = "9 64";
|
|
extent = "99 30";
|
|
minExtent = "8 2";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiCheckBoxProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "0";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
text = "RT Changes";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
useMouseEvents = "0";
|
|
position = "9 96";
|
|
extent = "99 30";
|
|
minExtent = "8 2";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiCheckBoxProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "0";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|