mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
shift smoothness and metallness sliders on up to the same areas as the textureslots
This commit is contained in:
parent
65cbf49c4a
commit
60df3744c7
1 changed files with 124 additions and 123 deletions
|
|
@ -567,6 +567,130 @@
|
||||||
tooltipprofile = "ToolsGuiToolTipProfile";
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||||
hovertime = "1000";
|
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
|
new GuiContainer(){ // spec Map options
|
||||||
profile="ToolsGuiDefaultProfile";
|
profile="ToolsGuiDefaultProfile";
|
||||||
isContainer = "1";
|
isContainer = "1";
|
||||||
|
|
@ -2767,129 +2891,6 @@
|
||||||
tooltipprofile = "ToolsGuiToolTipProfile";
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||||
hovertime = "1000";
|
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
|
new GuiContainer(){ // glow emissive
|
||||||
profile = "ToolsGuiTransparentProfile";
|
profile = "ToolsGuiTransparentProfile";
|
||||||
isContainer = "1";
|
isContainer = "1";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue