|
@@ -566,6 +566,130 @@
|
|
|
Visible = "1";
|
|
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
hovertime = "1000";
|
|
|
+
|
|
|
+ new GuiContainer(){
|
|
|
+ profile = "ToolsGuiTransparentProfile";
|
|
|
+ isContainer = "1";
|
|
|
+ position = "0 0";
|
|
|
+ Extent = "185 44";
|
|
|
+ HorizSizing = "width";
|
|
|
+
|
|
|
+ new GuiTextCtrl() {
|
|
|
+ HorizSizing = "right";
|
|
|
+ VertSizing = "bottom";
|
|
|
+ position = "9 4";
|
|
|
+ Extent = "72 16";
|
|
|
+ text = "Smoothness";
|
|
|
+ };
|
|
|
+
|
|
|
+ new GuiTextCtrl() {
|
|
|
+ HorizSizing = "right";
|
|
|
+ VertSizing = "bottom";
|
|
|
+ position = "9 26";
|
|
|
+ Extent = "72 16";
|
|
|
+ text = "Metalness";
|
|
|
+ };
|
|
|
+
|
|
|
+ new GuiControl() {
|
|
|
+ class = "AggregateControl";
|
|
|
+ position = "91 4";
|
|
|
+ Extent = "96 20";
|
|
|
+
|
|
|
+ new GuiSliderCtrl() {
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+ internalName = "SmoothnessSlider";
|
|
|
+ Enabled = "1";
|
|
|
+ isContainer = "0";
|
|
|
+ Profile = "ToolsGuiSliderProfile";
|
|
|
+ HorizSizing = "right";
|
|
|
+ VertSizing = "bottom";
|
|
|
+ position = "0 1";
|
|
|
+ Extent = "61 14";
|
|
|
+ MinExtent = "8 2";
|
|
|
+ canSave = "1";
|
|
|
+ Visible = "1";
|
|
|
+ Command = "MaterialEditorGui.updateActiveMaterial(\"Smoothness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
+ AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Smoothness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
+ tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
+ ToolTip = "Sets Smoothness.";
|
|
|
+ hovertime = "1000";
|
|
|
+ range = "0 1";
|
|
|
+ ticks = "0";
|
|
|
+ value = "0";
|
|
|
+ };
|
|
|
+ new GuiTextEditCtrl() {
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+ internalName = "SmoothnessTextEdit";
|
|
|
+ Enabled = "1";
|
|
|
+ isContainer = "0";
|
|
|
+ Profile = "ToolsGuiTextEditProfile";
|
|
|
+ HorizSizing = "right";
|
|
|
+ VertSizing = "bottom";
|
|
|
+ position = "64 0";
|
|
|
+ Extent = "29 18";
|
|
|
+ MinExtent = "8 2";
|
|
|
+ canSave = "1";
|
|
|
+ Visible = "1";
|
|
|
+ Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Smoothness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
+ hovertime = "1000";
|
|
|
+ AnchorTop = "1";
|
|
|
+ AnchorBottom = "0";
|
|
|
+ AnchorLeft = "1";
|
|
|
+ AnchorRight = "0";
|
|
|
+ text = "0";
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
+ new GuiControl() {
|
|
|
+ class = "AggregateControl";
|
|
|
+ position = "91 26";
|
|
|
+ Extent = "96 20";
|
|
|
+
|
|
|
+ new GuiSliderCtrl() {
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+ internalName = "MetalnessSlider";
|
|
|
+ Enabled = "1";
|
|
|
+ isContainer = "0";
|
|
|
+ Profile = "ToolsGuiSliderProfile";
|
|
|
+ HorizSizing = "right";
|
|
|
+ VertSizing = "bottom";
|
|
|
+ position = "0 1";
|
|
|
+ Extent = "61 14";
|
|
|
+ MinExtent = "8 2";
|
|
|
+ canSave = "1";
|
|
|
+ Visible = "1";
|
|
|
+ Command = "MaterialEditorGui.updateActiveMaterial(\"Metalness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
+ AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Metalness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
+ tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
+ ToolTip = "Sets Metalness.";
|
|
|
+ hovertime = "1000";
|
|
|
+ range = "0 1";
|
|
|
+ ticks = "0";
|
|
|
+ value = "0";
|
|
|
+ };
|
|
|
+ new GuiTextEditCtrl() {
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+ internalName = "MetalnessTextEdit";
|
|
|
+ Enabled = "1";
|
|
|
+ isContainer = "0";
|
|
|
+ Profile = "ToolsGuiTextEditProfile";
|
|
|
+ HorizSizing = "right";
|
|
|
+ VertSizing = "bottom";
|
|
|
+ position = "64 0";
|
|
|
+ Extent = "29 18";
|
|
|
+ MinExtent = "8 2";
|
|
|
+ canSave = "1";
|
|
|
+ Visible = "1";
|
|
|
+ Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Metalness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
+ hovertime = "1000";
|
|
|
+ AnchorTop = "1";
|
|
|
+ AnchorBottom = "0";
|
|
|
+ AnchorLeft = "1";
|
|
|
+ AnchorRight = "0";
|
|
|
+ text = "0";
|
|
|
+ };
|
|
|
+ };
|
|
|
+ };
|
|
|
|
|
|
new GuiContainer(){ // spec Map options
|
|
|
profile="ToolsGuiDefaultProfile";
|
|
@@ -2767,129 +2891,6 @@
|
|
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
hovertime = "1000";
|
|
|
|
|
|
- new GuiContainer(){ // specular
|
|
|
- profile = "ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "185 44";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "9 4";
|
|
|
- Extent = "72 16";
|
|
|
- text = "Smoothness";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "9 26";
|
|
|
- Extent = "72 16";
|
|
|
- text = "Metalness";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "91 4";
|
|
|
- Extent = "96 20";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "SmoothnessSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 1";
|
|
|
- Extent = "61 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"Smoothness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Smoothness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
- ToolTip = "Sets Smoothness.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "SmoothnessTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "64 0";
|
|
|
- Extent = "29 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Smoothness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "91 26";
|
|
|
- Extent = "96 20";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "MetalnessSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 1";
|
|
|
- Extent = "61 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"Metalness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Metalness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
- ToolTip = "Sets Metalness.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "MetalnessTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "64 0";
|
|
|
- Extent = "29 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Metalness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
new GuiContainer(){ // glow emissive
|
|
|
profile = "ToolsGuiTransparentProfile";
|
|
|
isContainer = "1";
|