📄 editorgui.gui
字号:
position = "6 6";
extent = "122 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Thermal Erosion Settings:";
maxLength = "255";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "112 36";
extent = "47 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Iterations:";
maxLength = "255";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "79 91";
extent = "80 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Material Loss %:";
maxLength = "255";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 63";
extent = "139 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Min Erosion Slope (degrees):";
maxLength = "255";
};
new GuiTextEditSliderCtrl(thermal_iter) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "166 36";
extent = "78 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
format = "%1.0f";
range = "0 50";
increment = "1";
};
new GuiTextEditSliderCtrl(thermal_slope) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "166 63";
extent = "78 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
format = "%2.1f";
range = "0 89";
increment = "0.1";
};
new GuiTextEditSliderCtrl(thermal_cons) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "166 90";
extent = "78 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
format = "%2.1f";
range = "0 100";
increment = "0.1";
};
};
new GuiControl(tab_Hydraulic) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "259 198";
minExtent = "8 8";
visible = "0";
helpTag = "0";
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "6 6";
extent = "129 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Hydraulic Erosion Settings:";
maxLength = "255";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "112 34";
extent = "47 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Iterations:";
maxLength = "255";
};
new GuiFilterCtrl(hydraulic_filter) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "16 57";
extent = "130 130";
minExtent = "8 8";
visible = "1";
command = "Heightfield::saveTab();Heightfield::preview($selectedOperation);";
helpTag = "0";
controlPoints = "7";
filter = "0.000000 0.166667 0.333333 0.500000 0.666667 0.833333 1.000000";
};
new GuiTextEditSliderCtrl(hydraulic_iter) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "166 35";
extent = "78 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
format = "%1.0f";
range = "0 50";
increment = "1";
};
new GuiTextEditSliderCtrl() {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "165 161";
extent = "64 18";
minExtent = "8 8";
visible = "1";
variable = "hydraulic_filter.controlPoints";
command = "hydraulic_filter.controlPoints = $ThisControl.getValue();Heightfield::saveTab();Heightfield::preview($selectedOperation);";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
format = "%3.0f";
range = "2 20";
increment = "1";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "165 141";
extent = "69 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Control Points:";
maxLength = "255";
};
};
new GuiControl(tab_Sinus) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "259 199";
minExtent = "8 8";
visible = "0";
helpTag = "0";
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "6 6";
extent = "72 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Sinus Settings:";
maxLength = "255";
};
new GuiFilterCtrl(sinus_filter) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "36 64";
extent = "130 130";
minExtent = "8 8";
visible = "1";
command = "Heightfield::saveTab();Heightfield::preview($selectedOperation);";
helpTag = "0";
controlPoints = "7";
filter = "0.176920 0.833330 0.876920 0.238460 0.215380 0.166660 0.000000";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "100 32";
extent = "70 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Random Seed:";
maxLength = "255";
};
new GuiTextEditCtrl(sinus_seed) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "174 32";
extent = "78 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "0";
maxLength = "255";
historySize = "5";
password = "0";
tabComplete = "0";
};
new GuiButtonCtrl() {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "177 66";
extent = "73 20";
minExtent = "8 8";
visible = "1";
command = "sinus_seed.setValue(terraFormer.generateSeed());Heightfield::saveTab();Heightfield::preview($selectedOperation);";
helpTag = "0";
text = "New Seed";
groupNum = "-1";
buttonType = "PushButton";
};
new GuiTextEditSliderCtrl() {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "178 171";
extent = "64 18";
minExtent = "8 8";
visible = "1";
variable = "sinus_filter.controlPoints";
command = "sinus_filter.controlPoints = $ThisControl.getValue();Heightfield::saveTab();Heightfield::preview($selectedOperation);";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
format = "%3.0f";
range = "2 20";
increment = "1";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "179 150";
extent = "69 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "Control Points:";
maxLength = "255";
};
};
new GuiControl(tab_terrainFile) {
profile = "GuiContentProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "261 198";
minExtent = "8 8";
visible = "0";
helpTag = "0";
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 2";
extent = "53 18";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "TerrainFile:";
maxLength = "255";
};
new GuiScrollCtrl() {
profile = "GuiScrollProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 20";
extent = "262 180";
minExtent = "8 8";
visible = "1";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "dynamic";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
childMargin = "0 0";
new GuiTextListCtrl(terrainFile_textList) {
profile = "GuiTextArrayProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "2 2";
extent = "240 8";
minExtent = "8 8";
visible = "1";
command = "terrainFile_terrFileText.setValue(\"terrains/\" @ terrainF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -