|
@@ -1,5290 +0,0 @@
|
|
|
-//--- OBJECT WRITE BEGIN ---
|
|
|
-$guiContent = new GuiControl(MaterialEditorGui,EditorGuiGroup) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "MatEdPropertiesWindowContainer";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "1024 768";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiWindowCollapseCtrl(MaterialEditorPropertiesWindow) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "MatEdPropertiesWindow";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiWindowProfile";
|
|
|
- HorizSizing = "windowRelative";
|
|
|
- VertSizing = "windowRelative";
|
|
|
- Extent = "360" SPC getWord($pref::Video::mode, 1) - getWord(MaterialEditorPreviewWindow.extent, 1) - getWord(EditorGuiToolbar.extent, 1) - 65;
|
|
|
- MinExtent = "300 316";
|
|
|
- Position = getWord($pref::Video::mode, 0) - 360
|
|
|
- SPC getWord(EditorGuiToolbar.extent, 1) + getWord(MaterialEditorPreviewWindow.extent, 1) + 6;
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "4 4 4 4";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- resizeWidth = "1";
|
|
|
- resizeHeight = "1";
|
|
|
- canMove = "1";
|
|
|
- canClose = "0";
|
|
|
- canMinimize = "0";
|
|
|
- canMaximize = "0";
|
|
|
- closeCommand = "MaterialEditorPropertiesWindow.setVisible(false);";
|
|
|
- minSize = "50 50";
|
|
|
- EdgeSnap = "1";
|
|
|
- text = ":: Material Editor - Properties";
|
|
|
-
|
|
|
- new GuiContainer(MaterialEditorGuiContent){ // Client group
|
|
|
- isContainer = "1";
|
|
|
- Docking = "Client";
|
|
|
- Margin = "3 1 3 3";
|
|
|
- Position = "4 24";
|
|
|
- Extent = "200 668";
|
|
|
-
|
|
|
- new GuiContainer(){ // container to prevent transparent collapsing from effecting children.
|
|
|
- Position = "0 21";
|
|
|
- Extent = "200 39";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- Visible = "1";
|
|
|
-
|
|
|
- new GuiContainer(MatEdMaterialMode){ // Edit Mode
|
|
|
- Position = "0 0";
|
|
|
- Extent = "200 39";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- Visible = "0";
|
|
|
-
|
|
|
- new GuiTextCtrl(){
|
|
|
- Position = "10 1";
|
|
|
- Extent = "50 16";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- text = "Material:";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl(){
|
|
|
- internalName = "selMaterialName";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- AltCommand = "MaterialEditorGui.setMaterialDirty();MaterialEditorGui.updateActiveMaterialName($ThisControl.getText());"; // needs hookup
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "70 0";
|
|
|
- Extent = "125 18";
|
|
|
- text = "";
|
|
|
- };
|
|
|
- new GuiTextCtrl(){
|
|
|
- Position = "10 20";
|
|
|
- Extent = "50 18";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- text = "Target:";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- };
|
|
|
- new GuiTextCtrl(){ // mesh name should not include the path
|
|
|
- internalName = "selMaterialMapTo"; // will use the first child found with that name if called from a previous parent even if it is invisable.
|
|
|
- Position = "70 20";
|
|
|
- Extent = "125 16";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- text = "";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(MatEdTargetMode){ // Selection Mode
|
|
|
- Position = "0 0";
|
|
|
- Extent = "202 39";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- Visible = "1";
|
|
|
-
|
|
|
- new GuiBitmapButtonCtrl(){
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- Position = "186 23";
|
|
|
- Extent = "17 17";
|
|
|
- HorizSizing = "left";
|
|
|
- tooltip = "Swap material on the object with existing";
|
|
|
- bitmapAsset = "ToolsModule:change_material_btn_n_image";
|
|
|
- command = "MaterialEditorGui.swapMaterial();";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl(){
|
|
|
- internalName = "selMaterialName";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- AltCommand = "MaterialEditorGui.setMaterialDirty();MaterialEditorGui.updateActiveMaterialName($ThisControl.getText());"; // needs hookup
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "76 21";
|
|
|
- Extent = "107 18";
|
|
|
- text = "myMaterial 1";
|
|
|
- HorizSizing = "width";
|
|
|
- };
|
|
|
- new GuiTextCtrl(){ // mesh name should not include the path
|
|
|
- internalName = "selMaterialMapTo";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- Position = "1 1";
|
|
|
- Extent = "70 16";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- text = "";
|
|
|
- };
|
|
|
- new GuiTextCtrl(){
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- Position = "1 21";
|
|
|
- Extent = "70 16";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- text = "Material";
|
|
|
- };
|
|
|
- new GuiPopupMenuCtrlEx(SubMaterialSelector){ // needs hookup will show the name of the current mesh Maped to
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- Position = "76 0";
|
|
|
- Extent = "126 17";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- text = "";
|
|
|
- tooltip = "Target Material";
|
|
|
- Command = "SubMaterialSelector.onSelect();";
|
|
|
- reverseTextList = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- // make this shorter ////////////////////////////////////////////////////////////////////////////
|
|
|
- new GuiScrollCtrl(matEd_scrollControl) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiScrollProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "height"; //height
|
|
|
- position = "0 65";
|
|
|
- Extent = "202 603";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- willFirstRespond = "1";
|
|
|
- hScrollBar = "alwaysOff";
|
|
|
- vScrollBar = "dynamic";
|
|
|
- lockHorizScroll = "true";
|
|
|
- lockVertScroll = "false";
|
|
|
- constantThumbHeight = "0";
|
|
|
- childMargin = "0 0";
|
|
|
-
|
|
|
- new GuiStackControl(MatEd_scrollContents) {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 0";
|
|
|
- Extent = "187 0";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiPopUpMenuCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "MaterialLayerCtrl";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiPopUpMenuTabProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 0";
|
|
|
- Extent = "112 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.changeLayer( $ThisControl.getText() );";
|
|
|
- ToolTip = "Changes the material layer being edited";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Layer 0";
|
|
|
- maxLength = "1024";
|
|
|
- maxPopupHeight = "200";
|
|
|
- sbUsesNAColor = "0";
|
|
|
- reverseTextList = "0";
|
|
|
- bitmapBounds = "16 16";
|
|
|
- };
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "185 0";
|
|
|
- Caption = " Basic Texture Maps";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "185 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiContainer(){ // Diffuse Map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "6 21";
|
|
|
- Extent = "185 52";
|
|
|
- HorizSizing = "width";
|
|
|
- className = "materialEditorDiffuseMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "diffuseMapDisplayBitmap";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"diffuse\", 1);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change the Active Diffuse Map for this layer";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "EditorTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 0";
|
|
|
- Extent = "72 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Diffuse Map";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "diffuseMapNameText";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 16";
|
|
|
- Extent = "134 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "colorTintSwatch";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "55 33";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "getColorF(materialEd_PreviewMaterial.diffuseColor[MaterialEditorGui.currentLayer], \"MaterialEditorGui.updateColorMultiply\");";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl(){
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- text = "Color";
|
|
|
- position = "74 34";
|
|
|
- Extent = "30 15";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(){
|
|
|
- profile="ToolsGuiButtonProfile";
|
|
|
- text ="Edit";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "134 34";
|
|
|
- Extent = "40 16";
|
|
|
- buttonType = "PushButton";
|
|
|
- command = "MaterialEditorGui.updateTextureMap(\"diffuse\", 1);";
|
|
|
-
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "177 34";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"diffuse\", 0);";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="6 75";
|
|
|
- extent ="175 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset = "ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- new GuiContainer(){ // Normal Map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "6 77";
|
|
|
- Extent = "185 52";
|
|
|
- HorizSizing = "width";
|
|
|
- className = "materialEditorNormalMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "normalMapDisplayBitmap";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "EditorTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 0";
|
|
|
- Extent = "72 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Normal Map";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"normal\", 1);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change the active Normal Map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "normalMapNameText";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 16";
|
|
|
- Extent = "143 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(){
|
|
|
- profile="ToolsGuiButtonProfile";
|
|
|
- text ="Edit";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "134 34";
|
|
|
- Extent = "40 16";
|
|
|
- buttonType = "PushButton";
|
|
|
- command = "MaterialEditorGui.updateTextureMap(\"normal\", 1);";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "177 34";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"normal\", 0);";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiRolloutCtrl() { // Light Influence Properties Group
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "300 0";
|
|
|
- Caption = " Light Influence Maps";
|
|
|
- Expanded = false;
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "300 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiContainer(){
|
|
|
- profile = "ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 120";
|
|
|
- HorizSizing = "left";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 4";
|
|
|
- Extent = "100 16";
|
|
|
- text = "Roughness";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 26";
|
|
|
- Extent = "100 16";
|
|
|
- text = "Metalness";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "120 4";
|
|
|
- Extent = "180 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "RoughnessSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 2";
|
|
|
- Extent = "10 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"Roughness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Roughness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Sets Roughness.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "RoughnessTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "35 0";
|
|
|
- Extent = "30 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Roughness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "120 26";
|
|
|
- Extent = "180 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "MetalnessSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 2";
|
|
|
- Extent = "10 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 = "ToolsGuiToolTipProfile";
|
|
|
- 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 = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "35 0";
|
|
|
- Extent = "30 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";
|
|
|
- isContainer = "1";
|
|
|
- position = "6 60";
|
|
|
- Extent = "290 24";
|
|
|
- HorizSizing = "right";
|
|
|
-
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "isSRGBCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "5 0";
|
|
|
- Extent = "70 24";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"isSRGb[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Treat as sRGB" NL "(Substance Designer Workaround)";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Is sRGB";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "invertRoughnessCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "120 0";
|
|
|
- Extent = "120 24";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"invertRoughness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = " Invert Rougness" NL "(Treat as Roughest = 1.0 instead of 0.0)";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Invert Roughness";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="6 90";
|
|
|
- extent ="175 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset = "ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiContainer(){ // spec Map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "6 280";
|
|
|
- Extent = "185 52";
|
|
|
- HorizSizing = "width";
|
|
|
- className = "materialEditorORMConfigMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "ORMConfigMapDisplayBitmap";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "EditorTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 0";
|
|
|
- Extent = "72 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "ORM (Config) Map";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"ORMConfig\",1);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change the packed Specular Map for this layer" NL " - Red: Roughness" NL " - Green: Ambient Occlusion" NL " - Blue: Metalness";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "ORMConfigMapNameText";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 16";
|
|
|
- Extent = "143 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(){
|
|
|
- profile="ToolsGuiButtonProfile";
|
|
|
- text ="Edit";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "134 34";
|
|
|
- Extent = "40 16";
|
|
|
- buttonType = "PushButton";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"ORMConfig\",1);";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "177 34";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"ORMConfig\",0);";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- };
|
|
|
- };
|
|
|
- // todo: fix indent
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:separator_v_image";
|
|
|
- position = "6 75";
|
|
|
- extent = "175 2";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- visible = "1";
|
|
|
- };
|
|
|
- new GuiContainer(){ // save composite Map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 344";
|
|
|
- Extent = "185 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "70 2";
|
|
|
- Extent = "100 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Save Composite:";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:save_icon_n_image";
|
|
|
- bitmapMode = "Stretched";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "175 2";
|
|
|
- extent = "16 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.saveCompositeMap();";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position = "6 75";
|
|
|
- extent ="192 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- new GuiContainer() {
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "6 364";
|
|
|
- extent = "185 52";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "GuiDefaultProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "1";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- className = "materialEditorAOMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- position = "1 1";
|
|
|
- extent = "48 48";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "aoMapDisplayBitmap";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "AO Map";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "56 0";
|
|
|
- extent = "85 8";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "EditorTextProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- bitmapMode = "Stretched";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "1 1";
|
|
|
- extent = "48 48";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"ao\",1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- tooltip = "Change the AO map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "56 17";
|
|
|
- extent = "193 17";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "aoMapNameText";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiButtonCtrl() {
|
|
|
- text = "Edit";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "134 34";
|
|
|
- extent = "40 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"ao\",1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- bitmapMode = "Stretched";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "177 34";
|
|
|
- extent = "16 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"ao\",0);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(aoChanBtn0) {
|
|
|
- text = "R";
|
|
|
- groupNum = "2";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "160 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioRedProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setAOChan(0);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(aoChanBtn1) {
|
|
|
- text = "G";
|
|
|
- groupNum = "2";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "184 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioGreenProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setAOChan(1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(aoChanBtn2) {
|
|
|
- text = "B";
|
|
|
- groupNum = "2";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "208 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioBlueProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setAOChan(2);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(aoChanBtn3) {
|
|
|
- text = "A";
|
|
|
- groupNum = "2";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "232 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setAOChan(3);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer() {
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "6 364";
|
|
|
- extent = "185 52";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "GuiDefaultProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "1";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- className = "materialEditorRoughnessMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- position = "1 1";
|
|
|
- extent = "48 48";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "roughMapDisplayBitmap";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "Roughness Map";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "56 0";
|
|
|
- extent = "35 8";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "EditorTextProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- bitmapMode = "Stretched";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "1 1";
|
|
|
- extent = "48 48";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"rough\",1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- tooltip = "Change the Roughness map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "56 17";
|
|
|
- extent = "193 17";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "roughMapNameText";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiButtonCtrl() {
|
|
|
- text = "Edit";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "134 34";
|
|
|
- extent = "40 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"rough\",1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- bitmapMode = "Stretched";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "177 34";
|
|
|
- extent = "16 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"rough\",0);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(roughChanBtn0) {
|
|
|
- text = "R";
|
|
|
- groupNum = "1";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "160 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioRedProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setRoughChan(0);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(roughChanBtn1) {
|
|
|
- text = "G";
|
|
|
- groupNum = "1";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "184 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioGreenProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setRoughChan(1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(roughChanBtn2) {
|
|
|
- text = "B";
|
|
|
- groupNum = "1";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "208 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioBlueProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setRoughChan(2);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(roughChanBtn3) {
|
|
|
- text = "A";
|
|
|
- groupNum = "1";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "232 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setRoughChan(3);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer() {
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "6 364";
|
|
|
- extent = "185 52";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "GuiDefaultProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "1";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- className = "materialEditorMetalMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- position = "1 1";
|
|
|
- extent = "48 48";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "metalMapDisplayBitmap";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "Metal Map";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "56 0";
|
|
|
- extent = "35 8";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "EditorTextProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- bitmapMode = "Stretched";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "1 1";
|
|
|
- extent = "48 48";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"metal\",1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- tooltip = "Change the Metalness Map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "56 17";
|
|
|
- extent = "193 17";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "metalMapNameText";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiButtonCtrl() {
|
|
|
- text = "Edit";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "134 34";
|
|
|
- extent = "40 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"metal\",1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- bitmapMode = "Stretched";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "177 34";
|
|
|
- extent = "16 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"metal\",0);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(metalChanBtn0) {
|
|
|
- text = "R";
|
|
|
- groupNum = "3";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "160 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioRedProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setMetalChan(0);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(metalChanBtn1) {
|
|
|
- text = "G";
|
|
|
- groupNum = "3";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "184 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioGreenProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setMetalChan(1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(metalChanBtn2) {
|
|
|
- text = "B";
|
|
|
- groupNum = "3";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "208 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioBlueProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setMetalChan(2);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiRadioCtrl(metalChanBtn3) {
|
|
|
- text = "A";
|
|
|
- groupNum = "3";
|
|
|
- buttonType = "RadioButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "232 7";
|
|
|
- extent = "25 10";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiRadioProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.setMetalChan(3);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="6 74";
|
|
|
- extent ="175 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset = "ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- new GuiContainer() {
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "6 364";
|
|
|
- extent = "185 80";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "GuiDefaultProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "1";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- className = "materialEditorGlowMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- position = "1 1";
|
|
|
- extent = "48 48";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "glowMapDisplayBitmap";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "Glow Map";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "56 0";
|
|
|
- extent = "35 8";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "EditorTextProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- bitmapMode = "Stretched";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "1 1";
|
|
|
- extent = "48 48";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"glow\",1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- tooltip = "Change the Glowness Map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "56 17";
|
|
|
- extent = "143 17";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "glowMapNameText";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiButtonCtrl() {
|
|
|
- text = "Edit";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "134 34";
|
|
|
- extent = "40 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"glow\",1);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- bitmapMode = "Stretched";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "177 34";
|
|
|
- extent = "16 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"glow\",0);";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- // todo: correct indent
|
|
|
- new GuiTextCtrl() {
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 54";
|
|
|
- Extent = "100 24";
|
|
|
- text = "Glow Multiply";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "120 54";
|
|
|
- Extent = "100 30";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "GlowMulSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 6";
|
|
|
- Extent = "5 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"GlowMul[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"GlowMul[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Sets GlowMul.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 20";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "GlowMulTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "35 3";
|
|
|
- Extent = "30 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"GlowMul[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiRolloutCtrl(advancedTextureMapsRollout) {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "185 0";
|
|
|
- Caption = " Advanced Texture Maps";
|
|
|
- Expanded = false;
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "185 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiContainer(){ // Detail Map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "6 193";
|
|
|
- Extent = "185 52";
|
|
|
- HorizSizing = "width";
|
|
|
- className = "materialEditorDetailMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "detailMapDisplayBitmap";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"detail\", 1);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change the active Detail Map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() { // Detailmap Scale text
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- position = "56 34";
|
|
|
- Extent = "35 16";
|
|
|
- text ="Scale";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl() { // Detailmap Scale
|
|
|
- profile="ToolsGuiNumericTextEditProfile";
|
|
|
- internalName = "detailScaleTextEdit";
|
|
|
- position = "95 33";
|
|
|
- Extent = "28 18";
|
|
|
- text ="0";
|
|
|
- maxLength = "2";
|
|
|
- AltCommand = "MaterialEditorGui.updateDetailScale($ThisControl.getText());";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "EditorTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 -3";
|
|
|
- Extent = "72 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Detail Map";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "detailMapNameText";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 16";
|
|
|
- Extent = "143 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(){
|
|
|
- profile="ToolsGuiButtonProfile";
|
|
|
- text ="Edit";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "134 34";
|
|
|
- Extent = "40 16";
|
|
|
- buttonType = "PushButton";
|
|
|
- command = "MaterialEditorGui.updateTextureMap(\"detail\", 1);";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "177 34";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"detail\", 0);";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="6 246";
|
|
|
- extent ="175 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiContainer(){ // Detail Normal Map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "6 136";
|
|
|
- Extent = "185 52";
|
|
|
- HorizSizing = "width";
|
|
|
- className = "materialEditorDetailNormalMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "detailNormalMapDisplayBitmap";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"detailNormal\", 1);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change the active Detail Normal Map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() { // Detail Normal Map Strength text
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- position = "56 34";
|
|
|
- Extent = "50 16";
|
|
|
- text ="Strength";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl() { // Detail Normal Map Strength
|
|
|
- profile="ToolsGuiNumericTextEditProfile";
|
|
|
- internalName = "detailNormalStrengthTextEdit";
|
|
|
- position = "115 33";
|
|
|
- Extent = "28 18";
|
|
|
- text ="0";
|
|
|
- maxLength = "3";
|
|
|
- AltCommand = "MaterialEditorGui.updateDetailNormalStrength($ThisControl.getText());";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "EditorTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 -3";
|
|
|
- Extent = "72 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Detail Normal Map";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "detailNormalMapNameText";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 16";
|
|
|
- Extent = "143 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(){
|
|
|
- profile="ToolsGuiButtonProfile";
|
|
|
- text ="Edit";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "134 34";
|
|
|
- Extent = "40 16";
|
|
|
- buttonType = "PushButton";
|
|
|
- command = "MaterialEditorGui.updateTextureMap(\"detailNormal\", 1);";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "177 34";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"detailNormal\", 0);";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="6 189";
|
|
|
- extent ="175 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiContainer(){ // Overlay Map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "6 136";
|
|
|
- Extent = "185 52";
|
|
|
- HorizSizing = "width";
|
|
|
- className = "materialEditorOverlayMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "overlayMapDisplayBitmap";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"overlay\", 1);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change the active Overlay Map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "EditorTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 -3";
|
|
|
- Extent = "72 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Overlay Map";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "overlayMapNameText";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 16";
|
|
|
- Extent = "143 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(){
|
|
|
- profile="ToolsGuiButtonProfile";
|
|
|
- text ="Edit";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "134 34";
|
|
|
- Extent = "40 16";
|
|
|
- buttonType = "PushButton";
|
|
|
- command = "MaterialEditorGui.updateTextureMap(\"overlay\", 1);";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "177 34";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"overlay\", 0);";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="6 189";
|
|
|
- extent ="175 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- new GuiContainer(){ // light Map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "6 250";
|
|
|
- Extent = "185 52";
|
|
|
- HorizSizing = "width";
|
|
|
- className = "materialEditorLightMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "lightMapDisplayBitmap";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "EditorTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 -3";
|
|
|
- Extent = "72 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Light Map";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"light\", 1);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change the active Light Map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "lightMapNameText";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 16";
|
|
|
- Extent = "143 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(){
|
|
|
- profile="ToolsGuiButtonProfile";
|
|
|
- text ="Edit";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "134 34";
|
|
|
- Extent = "40 16";
|
|
|
- buttonType = "PushButton";
|
|
|
- command="MaterialEditorGui.updateTextureMap(\"light\", 1);";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "177 34";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"light\", 0);";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="6 303";
|
|
|
- extent ="175 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- new GuiContainer(){ // tone Map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "6 307";
|
|
|
- Extent = "185 52";
|
|
|
- HorizSizing = "width";
|
|
|
- className = "materialEditorToneMapContainer";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "toneMapDisplayBitmap";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "EditorTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 -3";
|
|
|
- Extent = "72 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Tone Map";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"tone\", 1);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change the active Tone Map for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "toneMapNameText";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 16";
|
|
|
- Extent = "143 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(){
|
|
|
- profile="ToolsGuiButtonProfile";
|
|
|
- text ="Edit";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "134 34";
|
|
|
- Extent = "40 16";
|
|
|
- buttonType = "PushButton";
|
|
|
- command="MaterialEditorGui.updateTextureMap(\"tone\", 1);";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "177 34";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateTextureMap(\"tone\", 0);";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiRolloutCtrl(accumulationPropertiesRollout) {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "300 0";
|
|
|
- Caption = " Accumulation Properties";
|
|
|
- Expanded = false;
|
|
|
- Margin = "-1 0 0 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "GuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "300 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiContainer(){ // enable/disable
|
|
|
- profile="ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 24";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "8 7";
|
|
|
- Extent = "180 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateAccuCheckbox($ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Enables the use of Pixel Specular for this layer.";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Enable Pixel Specular";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiContainer(){ // scale
|
|
|
- profile="ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 24";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 3";
|
|
|
- Extent = "100 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Scale";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "120 3";
|
|
|
- Extent = "100 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuScaleSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 2";
|
|
|
- Extent = "10 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"accuScale[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuScale[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "GuiDefaultProfile";
|
|
|
- ToolTip = "Sets the scale of the accu map.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0.03125 32";
|
|
|
- ticks = "0";
|
|
|
- value = "1";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuScaleTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "24 0";
|
|
|
- Extent = "30 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuScale[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "1";
|
|
|
- maxLength = "3";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiContainer(){ // direction
|
|
|
- profile="ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 24";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 3";
|
|
|
- Extent = "100 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Direction";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "120 3";
|
|
|
- Extent = "100 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuDirectionSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 2";
|
|
|
- Extent = "10 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"accuDirection[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuDirection[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "GuiDefaultProfile";
|
|
|
- ToolTip = "Sets the direction of the accu map.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-1 1";
|
|
|
- ticks = "0";
|
|
|
- value = "-1";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuDirectionTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "24 0";
|
|
|
- Extent = "30 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuDirection[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "-1";
|
|
|
- maxLength = "3";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // strength
|
|
|
- profile="ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 24";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 3";
|
|
|
- Extent = "100 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Strength";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "120 3";
|
|
|
- Extent = "100 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuStrengthSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 2";
|
|
|
- Extent = "10 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"accuStrength[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuStrength[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "GuiDefaultProfile";
|
|
|
- ToolTip = "Sets the strength of the accu map.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0.6";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuStrengthTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "24 0";
|
|
|
- Extent = "30 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuStrength[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0.6";
|
|
|
- maxLength = "3";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // coverage
|
|
|
- profile="ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 24";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 3";
|
|
|
- Extent = "100 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Coverage";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "120 3";
|
|
|
- Extent = "100 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuCoverageSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 2";
|
|
|
- Extent = "10 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"accuCoverage[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuCoverage[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "GuiDefaultProfile";
|
|
|
- ToolTip = "Sets the coverage of the accu map.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 2";
|
|
|
- ticks = "0";
|
|
|
- value = "1";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuCoverageTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "24 0";
|
|
|
- Extent = "30 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuCoverage[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "1";
|
|
|
- maxLength = "3";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // specular
|
|
|
- profile="ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 24";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 3";
|
|
|
- Extent = "100 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Specular scale";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "120 3";
|
|
|
- Extent = "100 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuSpecularSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 2";
|
|
|
- Extent = "10 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"accuSpecular[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuSpecular[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "GuiDefaultProfile";
|
|
|
- ToolTip = "Sets the specular scale over the accu map.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 2";
|
|
|
- ticks = "0";
|
|
|
- value = "1";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "accuSpecularTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "24 0";
|
|
|
- Extent = "30 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuSpecular[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "1";
|
|
|
- maxLength = "3";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // empty space
|
|
|
- profile="ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 10";
|
|
|
- HorizSizing = "width";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiRolloutCtrl(lightingPropertiesRollout) {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "300 0";
|
|
|
- Caption = " Lighting Properties";
|
|
|
- Expanded = false;
|
|
|
- Margin = "-1 0 0 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "300 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiContainer(){ // glow emissive
|
|
|
- profile = "ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 40";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "glowCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "130 24";
|
|
|
- Extent = "70 20";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"glow[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Determines if this layer will Glow or not.";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Glow";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "receiveShadowsCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "12 4";
|
|
|
- Extent = "120 20";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"receiveShadows[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue());";
|
|
|
- ToolTip = "Do we recieve shadows?";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Receive Shadows";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "ignoreLightingCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "130 4";
|
|
|
- Extent = "150 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"ignoreLighting[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
- ToolTip = "Are we at all influenced by light?";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Ignore Lighting";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // parallax
|
|
|
- profile = "ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 20";
|
|
|
- Extent = "300 24";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 3";
|
|
|
- Extent = "100 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Parallax";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "120 3";
|
|
|
- Extent = "180 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "parallaxSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 2";
|
|
|
- Extent = "10 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"parallaxScale[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue(), true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateActiveMaterial(\"parallaxScale[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue(), true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Parallax Scale";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "parallaxTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "24 0";
|
|
|
- Extent = "30 20";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateActiveMaterial(\"parallaxScale[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0";
|
|
|
- maxLength = "3";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){
|
|
|
- profile = "ToolsGuiTransparentProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "300 84";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "useAnisoCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "12 8";
|
|
|
- Extent = "130 20";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"useAnisotropic[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Enables the use of anisotropic filtering for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Anisotropic filtering";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "vertLitCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "12 31";
|
|
|
- Extent = "102 20";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"vertLit[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Enables the use of vertex lighting for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Vertex lit";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "vertLitCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "120 31";
|
|
|
- Extent = "120 20";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"vertColor[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Multiply vertex colors with diffuse colors for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Vertex colors";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "subSurfaceCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "12 56";
|
|
|
- Extent = "95 20";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"subSurface[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Enables the use of subsurface scattering for this layer.";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Sub Surface";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiRolloutCtrl(materialAnimationPropertiesRollout) {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "300 0";
|
|
|
- Caption = " Animation Properties";
|
|
|
- Expanded = false;
|
|
|
- Margin = "-1 0 0 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "300 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiContainer(){ // Rotation Animation Properties
|
|
|
-
|
|
|
- profile="inspectorStyleRolloutInnerProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "-1 120";
|
|
|
- Extent = "300 100";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiCheckboxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "RotationAnimation";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiInspectorCheckBoxTitleProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "4 3";
|
|
|
- Extent = "200 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateAnimationFlags();";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = " Rotation Animation";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(RotAnimAggCtrl){
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 29";
|
|
|
- Extent = "290 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl(){ // u
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "11 1";
|
|
|
- Extent = "12 16";
|
|
|
- text = "U";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiSliderCtrl() { // u
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- internalName = "RotationSliderU";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "25 2";
|
|
|
- Extent = "68 15";
|
|
|
- Command = "MaterialEditorGui.updateRotationOffset(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationOffset(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change U Scroll Direction";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-1 0";
|
|
|
- ticks = "1";
|
|
|
- value = "-0.5";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl(){ // u
|
|
|
- internalName = "RotationTextEditU";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "98 0";
|
|
|
- Extent = "34 18";
|
|
|
- text = "0";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl);";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(ScrollAnimAggCtrl) {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 50";
|
|
|
- Extent = "290 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl(){ // v
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "11 1";
|
|
|
- Extent = "12 16";
|
|
|
- text = "V";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiSliderCtrl() { // v
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- internalName = "RotationSliderV";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "25 2";
|
|
|
- Extent = "68 15";
|
|
|
- Command = "MaterialEditorGui.updateRotationOffset(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationOffset(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change V Scroll Direction";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-1 0";
|
|
|
- ticks = "1";
|
|
|
- value = "-0.5";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl(){ // v
|
|
|
- internalName = "RotationTextEditV";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "98 0";
|
|
|
- Extent = "34 18";
|
|
|
- text = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationOffset();";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiTextCtrl(){ // Pivot Point
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "98 12";
|
|
|
- Extent = "34 16";
|
|
|
- text = "Pivot";
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "136 20";
|
|
|
- Extent = "48 48";
|
|
|
- isContainer = true;
|
|
|
- bitmapAsset="";
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 0";
|
|
|
- Extent = "48 48";
|
|
|
- bitmapAsset="ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){ //horizontal bar
|
|
|
- internalName = "RotationCrosshair";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "20 20";
|
|
|
- Extent = "7 7";
|
|
|
- MinExtent = "0 0";
|
|
|
- bitmapAsset="ToolsModule:crosshair_blue_image";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 75";
|
|
|
- Extent = "300 35";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl(){ // Speed
|
|
|
- profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "11 0";
|
|
|
- Extent = "100 16";
|
|
|
- text = "Speed";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "RotationSpeedSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "120 3";
|
|
|
- Extent = "10 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateRotationSpeed(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationSpeed(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Scrolling Speed";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-10 10";
|
|
|
- ticks = "1";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "RotationSpeedTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "140 1";
|
|
|
- Extent = "34 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationSpeed();";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0";
|
|
|
- maxLength = "1024";
|
|
|
- historySize = "0";
|
|
|
- password = "0";
|
|
|
- tabComplete = "0";
|
|
|
- sinkAllKeyEvents = "0";
|
|
|
- password = "0";
|
|
|
- passwordMask = "*";
|
|
|
- };
|
|
|
- new GuiTextCtrl(){ // space
|
|
|
- profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 20";
|
|
|
- Extent = "300 20";
|
|
|
- text = " ";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // Scroll Animation Properties
|
|
|
- profile="inspectorStyleRolloutInnerProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "-1 240";
|
|
|
- Extent = "300 105";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position = "0 5";
|
|
|
- extent ="300 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiCheckboxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "ScrollAnimation";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiInspectorCheckBoxTitleProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "4 10";
|
|
|
- Extent = "200 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- Command = "MaterialEditorGui.updateAnimationFlags();";
|
|
|
- text = " Scroll Animation";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 29";
|
|
|
- Extent = "290 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl(){ // u
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "11 1";
|
|
|
- Extent = "12 16";
|
|
|
- text = "U";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiSliderCtrl() { // u
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- internalName = "ScrollSliderU";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "25 2";
|
|
|
- Extent = "68 15";
|
|
|
- Command = "MaterialEditorGui.updateScrollOffset(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollOffset(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change U Scroll Direction";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-1 1";
|
|
|
- ticks = "1";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl(){ // u
|
|
|
- internalName = "ScrollTextEditU";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "98 0";
|
|
|
- Extent = "34 18";
|
|
|
- text = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollOffset();";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 50";
|
|
|
- Extent = "290 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl(){ // v
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "11 1";
|
|
|
- Extent = "12 16";
|
|
|
- text = "V";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiSliderCtrl() { // v
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- internalName = "ScrollSliderV";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "25 2";
|
|
|
- Extent = "68 15";
|
|
|
- Command = "MaterialEditorGui.updateScrollOffset(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollOffset(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Change V Scroll Direction";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-1 1";
|
|
|
- ticks = "1";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl(){ // v
|
|
|
- internalName = "ScrollTextEditV";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "98 0";
|
|
|
- Extent = "34 18";
|
|
|
- text = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollOffset();";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiTextCtrl(){ // Direction Offset
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "98 12";
|
|
|
- Extent = "34 16";
|
|
|
- text = "Offset";
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "136 20";
|
|
|
- Extent = "48 48";
|
|
|
- isContainer = true;
|
|
|
- bitmapAsset="";
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 0";
|
|
|
- Extent = "48 48";
|
|
|
- bitmapAsset="ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ //vertical bar
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "20 20";
|
|
|
- Extent = "7 7";
|
|
|
- MinExtent = "7 7";
|
|
|
- bitmapAsset="ToolsModule:crosshair_image";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ //horizontal bar
|
|
|
- internalName = "ScrollCrosshair";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "20 20";
|
|
|
- Extent = "7 7";
|
|
|
- MinExtent = "0 0";
|
|
|
- bitmapAsset="ToolsModule:crosshair_blue_image";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 75";
|
|
|
- Extent = "300 35";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl(){ // Speed
|
|
|
- profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "11 0";
|
|
|
- Extent = "100 16";
|
|
|
- text = "Speed";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "ScrollSpeedSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "120 3";
|
|
|
- Extent = "10 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateScrollSpeed(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollSpeed(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Scrolling Speed";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 10";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "ScrollSpeedTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "140 1";
|
|
|
- Extent = "34 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollSpeed();";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0";
|
|
|
- maxLength = "1024";
|
|
|
- historySize = "0";
|
|
|
- password = "0";
|
|
|
- tabComplete = "0";
|
|
|
- sinkAllKeyEvents = "0";
|
|
|
- password = "0";
|
|
|
- passwordMask = "*";
|
|
|
- };
|
|
|
- new GuiTextCtrl(){ // space
|
|
|
- profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 20";
|
|
|
- Extent = "300 20";
|
|
|
- text = " ";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // Wave Animation Properties
|
|
|
- profile="inspectorStyleRolloutInnerProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "-1 360";
|
|
|
- Extent = "300 85";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position = "0 0";
|
|
|
- extent ="300 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiCheckboxCtrl() {
|
|
|
- Profile = "ToolsGuiInspectorCheckBoxTitleProfile";
|
|
|
- internalName = "WaveAnimation";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "4 5";
|
|
|
- Extent = "200 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- text = " Wave Animation";
|
|
|
- Command = "MaterialEditorGui.updateAnimationFlags();";
|
|
|
- groupNum = "-1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiCheckboxCtrl() {
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- internalName = "ScaleAnimation";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "200 24";
|
|
|
- Extent = "45 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- text = " Scale";
|
|
|
- Command = "MaterialEditorGui.updateAnimationFlags();";
|
|
|
- groupNum = "-1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 22";
|
|
|
- Extent = "100 16";
|
|
|
- text = " Wave Type";
|
|
|
- };
|
|
|
- new GuiContainer(){ // Wave Radio Button container
|
|
|
- profile = "ToolsGuiDefaultProfile";
|
|
|
- internalName = "WaveButtonContainer";
|
|
|
- position = "120 24";
|
|
|
- Extent = "49 13";
|
|
|
- isContainer = "1";
|
|
|
-
|
|
|
- new GuiBitmapButtonCtrl(){
|
|
|
- profile = "ToolsGuiDefaultProfile";
|
|
|
- buttonType = "RadioButton";
|
|
|
- position = "1 0";
|
|
|
- Extent = "13 13";
|
|
|
- bitmapAsset = "ToolsModule:wav_sine_n_image";
|
|
|
- command = "MaterialEditorGui.updateWaveType();";
|
|
|
- tooltip="Sine Wave";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "0";
|
|
|
- waveType = "Sin";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl(){
|
|
|
- profile = "ToolsGuiDefaultProfile";
|
|
|
- buttonType = "RadioButton";
|
|
|
- position = "17 0";
|
|
|
- Extent = "13 13";
|
|
|
- bitmapAsset = "ToolsModule:wav_triangle_n_image";
|
|
|
- command = "MaterialEditorGui.updateWaveType();";
|
|
|
- tooltip="Triangle Wave";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "0";
|
|
|
- waveType = "Triangle";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl(){
|
|
|
- profile = "ToolsGuiDefaultProfile";
|
|
|
- buttonType = "RadioButton";
|
|
|
- position = "33 0";
|
|
|
- Extent = "13 13";
|
|
|
- bitmapAsset = "ToolsModule:wav_square_n_image";
|
|
|
- command = "MaterialEditorGui.updateWaveType();";
|
|
|
- tooltip="Square Wave";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "0";
|
|
|
- waveType = "Square";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 61";
|
|
|
- Extent = "300 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 2";
|
|
|
- Extent = "100 16";
|
|
|
- text = "Frequency";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl() { // frequence
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "WaveTextEditFreq";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "140 1";
|
|
|
- Extent = "34 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateWaveFreq();";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0";
|
|
|
- maxLength = "1024";
|
|
|
- historySize = "0";
|
|
|
- password = "0";
|
|
|
- tabComplete = "0";
|
|
|
- sinkAllKeyEvents = "0";
|
|
|
- password = "0";
|
|
|
- passwordMask = "*";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() { // freqency
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "WaveSliderFreq";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "120 4";
|
|
|
- Extent = "10 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateWaveFreq(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateWaveFreq(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Changes Wave Frequency";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 10";
|
|
|
- ticks = "9";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 40";
|
|
|
- Extent = "300 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 2";
|
|
|
- Extent = "100 16";
|
|
|
- text = "Amplitude";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl() { // amplitude
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- internalName = "WaveTextEditAmp";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "140 1";
|
|
|
- Extent = "34 18";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateWaveAmp();";
|
|
|
- hovertime = "1000";
|
|
|
- text = "0";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() { // amplitude
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "WaveSliderAmp";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "120 4";
|
|
|
- Extent = "10 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateWaveAmp(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateWaveAmp(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Changes Wave Amplitude";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "1";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
-
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // image Sequence Animation Properties
|
|
|
- profile="inspectorStyleRolloutInnerProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "-1 480";
|
|
|
- Extent = "300 80";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position = "0 5";
|
|
|
- extent ="300 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiCheckboxCtrl() {
|
|
|
- Profile = "ToolsGuiInspectorCheckBoxTitleProfile";
|
|
|
- internalName = "SequenceAnimation";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "4 10";
|
|
|
- Extent = "200 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- text = " Image Sequence";
|
|
|
- Command = "MaterialEditorGui.updateAnimationFlags();";
|
|
|
- groupNum = "-1";
|
|
|
- };
|
|
|
-
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 28";
|
|
|
- Extent = "300 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 2";
|
|
|
- Extent = "100 16";
|
|
|
- text = "Frames / Sec";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "SequenceTextEditFPS";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "140 1";
|
|
|
- Extent = "34 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateSequenceFPS();";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "0";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "SequenceSliderFPS";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "120 4";
|
|
|
- Extent = "10 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateSequenceFPS(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateSequenceFPS(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "How many frames to display per second.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 30";
|
|
|
- ticks = "5";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- position = "0 49";
|
|
|
- Extent = "300 20";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- profile = "ToolsGuiTextRightProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 2";
|
|
|
- Extent = "100 16";
|
|
|
- text = "Frames";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl() { // size
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- internalName = "SequenceTextEditSSS";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "140 1";
|
|
|
- Extent = "34 18";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateSequenceSSS();";
|
|
|
- hovertime = "1000";
|
|
|
- text = "0";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() { //size
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "SequenceSliderSSS";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "120 4";
|
|
|
- Extent = "10 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateSequenceSSS(true, true);";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateSequenceSSS(true, false);";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "How many frames in the sequence.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 100";
|
|
|
- ticks = "9";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiRolloutCtrl(materialAdvancedPropertiesRollout) { // Advanced Properties Group
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "202 0";
|
|
|
- Caption = " Advanced (all layers)";
|
|
|
- Expanded = false;
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "202 16";
|
|
|
-
|
|
|
- new GuiContainer(){ // Transparentcy Properties
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "210 89";
|
|
|
-
|
|
|
- new GuiPopUpMenuCtrl() {
|
|
|
- internalName = "blendingTypePopUp";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "3 2";
|
|
|
- Extent = "83 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"translucentBlendOp\",$ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Determines the type of blending to be applied on the transparent object.";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "LerpAlpha";
|
|
|
- maxLength = "1024";
|
|
|
- maxPopupHeight = "200";
|
|
|
- sbUsesNAColor = "0";
|
|
|
- reverseTextList = "0";
|
|
|
- bitmapBounds = "16 16";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "alphaTestCheckBox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "3 39";
|
|
|
- Extent = "106 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"alphaTest\",$ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "When enabled, caused pixels under a specific alpha threshold to get discarded rather than be computed. Only valid for transparent objects.";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Alpha Threshold";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl() {
|
|
|
- class = "AggregateControl";
|
|
|
- HorizSizing = "width";
|
|
|
- position = "115 39";
|
|
|
- Extent = "175 20";
|
|
|
-
|
|
|
- new GuiSliderCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "alphaRefSlider";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "0 3";
|
|
|
- Extent = "45 14";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"alphaRef\",$ThisControl.getValue(), true, true );";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"alphaRef\",$ThisControl.getValue(), true, false );";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Sets the minimum transparency value that a pixel must have to be calculated. Anything below this value will simply not be rendered at all.";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 255";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "alphaRefTextEdit";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "49 0";
|
|
|
- Extent = "27 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"alphaRef\",$ThisControl.getValue());";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "100";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "transZWriteCheckBox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "3 23";
|
|
|
- Extent = "130 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"translucentZWrite\",$ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Can be used to help force a proper Z-Ordering when Z-Ordering issues occur. Only valid for materials with Transparency.";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Transparent Z-Write";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "translucentCheckbox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "89 3";
|
|
|
- Extent = "107 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"translucent\",$ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Sets material to use transparent blending modes.";
|
|
|
- hovertime = "1000";
|
|
|
- text = " Transparency";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "castShadows";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "3 55";
|
|
|
- Extent = "112 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"castShadows\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Object casts shadows.";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Cast Shadows";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "castDynamicShadows";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "3 70";
|
|
|
- Extent = "115 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"castDynamicShadows\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Object casts dynamic shadows.";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Dynamic Shadows";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "doubleSidedCheckBox";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "105 55";
|
|
|
- Extent = "90 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"doubleSided\",$ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Determines if this material will be rendered from both sides of the polygon, or just the \'front facing\' side. ";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Double Sided";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- useInactiveState = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // Reflection Properties
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 95";
|
|
|
- Extent = "212 25";
|
|
|
- visible = "0";
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="2 2";
|
|
|
- extent ="192 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- // Reflection Properties Text
|
|
|
- new GuiTextCtrl(matEd_reflectionPropertiesText) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "91 6";
|
|
|
- Extent = "80 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Reflection";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiPopUpMenuCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- internalName = "reflectionTypePopUp";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "3 6";
|
|
|
- Extent = "75 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.updateReflectionType($ThisControl.getText());";
|
|
|
- ToolTip = "Determines the type of blending to be applied on the transparent object.";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- maxPopupHeight = "200";
|
|
|
- sbUsesNAColor = "0";
|
|
|
- reverseTextList = "0";
|
|
|
- bitmapBounds = "16 16";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(matEd_cubemapEditBtn){
|
|
|
- internalName = "matEd_cubemapEditBtn";
|
|
|
- profile ="ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "143 6 28";
|
|
|
- Extent = "33 18";
|
|
|
- Command = "MaterialEditorGui.showCubemapEditor();";
|
|
|
- text = "Edit";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiContainer(){ // Behavior Properties
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 122";
|
|
|
- Extent = "212 100";
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="2 2";
|
|
|
- extent ="192 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "Effect Colors[0:1]";
|
|
|
- position = "1 6";
|
|
|
- extent = "100 15";
|
|
|
- profile = "ToolsGuiDefaultProfile";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl() {
|
|
|
- color = "1 1 1 1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "100 6";
|
|
|
- extent = "16 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "getColorF(materialEd_PreviewMaterial.effectColor[0], \"MaterialEditorGui.updateEffectColor0\");";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "effectColor0Swatch";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl() {
|
|
|
- color = "1 1 1 1";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "120 6";
|
|
|
- extent = "16 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "getColorF(materialEd_PreviewMaterial.effectColor[1], \"MaterialEditorGui.updateEffectColor1\");";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "effectColor1Swatch";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- text = "Show Footprints";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "1 24";
|
|
|
- extent = "115 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiCheckBoxProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"showFootprints\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- tooltip = "Enables Player footprints on surfaces that use this Material.";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "showFootprintsCheckbox";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- text = "Show Dust";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "ToggleButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "120 24";
|
|
|
- extent = "80 16";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiCheckBoxProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- Command = "MaterialEditorGui.updateActiveMaterial(\"showDust\", $ThisControl.getValue());";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- tooltip = "Enables dust particles on surfaces that use this Material.";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "showDustCheckbox";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "Footstep sound";
|
|
|
- position = "1 43";
|
|
|
- extent = "100 15";
|
|
|
- profile = "ToolsGuiDefaultProfile";
|
|
|
- };
|
|
|
- new GuiPopUpMenuCtrl() {
|
|
|
- maxPopupHeight = "200";
|
|
|
- sbUsesNAColor = "0";
|
|
|
- reverseTextList = "0";
|
|
|
- bitmapBounds = "16 16";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "100 42";
|
|
|
- extent = "85 18";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.updateBehaviorSound(\"Footstep\", $ThisControl.getText());";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- tooltip = "Determines the footstep sound to use when the Player walks on this Material.";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "footstepSoundPopUp";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "Impact sound";
|
|
|
- position = "1 63";
|
|
|
- extent = "100 15";
|
|
|
- profile = "ToolsGuiDefaultProfile";
|
|
|
- };
|
|
|
- new GuiPopUpMenuCtrl() {
|
|
|
- maxPopupHeight = "200";
|
|
|
- sbUsesNAColor = "0";
|
|
|
- reverseTextList = "0";
|
|
|
- bitmapBounds = "16 16";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "100 62";
|
|
|
- extent = "85 18";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "MaterialEditorGui.updateBehaviorSound(\"Impact\", $ThisControl.getText());";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- tooltip = "Determines the impact sound to use when an object collides with this Material.";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- internalName = "impactSoundPopUp";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="2 90";
|
|
|
- extent ="192 2";
|
|
|
- HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl(MatEd_phoBreadcrumb) { //Go back to previous editor
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "-1 0";
|
|
|
- Extent = "20 19";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "0";
|
|
|
- //Command = "materialSelector.showDialog(\"MaterialEditorGui.switchMaterial\");";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:folderUp_image";
|
|
|
- tooltip = "Go back to previous editor";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl(MatEd_editMaterial) { //Select and Edit an Existing Material
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "66 1";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "AssetBrowser.showDialog(\"MaterialAsset\", \"MaterialEditorGui.selectMaterialAsset\");";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:open_file_n_image";
|
|
|
- tooltip = "Open Existing Material";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- // New Button
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "86 1";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.createNewMaterial();";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- text ="";
|
|
|
- tooltip = "Create New Material";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:new_n_image";
|
|
|
- };
|
|
|
- // Save Button
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "106 1";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.save();";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- text ="";
|
|
|
- tooltip = "Save Material (ALT S)";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:save_icon_n_image";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "126 1";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.lookupMaterialInstances();";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- text ="";
|
|
|
- tooltip = "Lookup Material Instances";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:visible_n_image";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position = "147 1";
|
|
|
- Extent = "2 16";
|
|
|
- minExtent = "2 16";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- };
|
|
|
- // Revert Material
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "151 1";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.refreshMaterial();";
|
|
|
- hovertime = "1000";
|
|
|
- tooltip = "Revert Material to Saved";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- text = "";
|
|
|
- bitmapAsset = "ToolsModule:reset_icon_n_image";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- // Clear Material
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "168 1";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.clearMaterial();";
|
|
|
- hovertime = "1000";
|
|
|
- tooltip = "Clear All Material Properties";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- text = "";
|
|
|
- bitmapAsset = "ToolsModule:clear_icon_n_image";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- // Delete Material
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "185 1";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- tooltip = "Delete Material from File";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- text = "";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- Command = "MaterialEditorGui.deleteMaterial();";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
-};
|
|
|
-
|
|
|
-// Here are all of the other gui elements that were included in the original gui============================================
|
|
|
-// EDIT: Instead of showing the faded bitmap, were going to just go ahead and push the controls; that way they are sitting
|
|
|
-// on top of the editor gui, while being nonmodal
|
|
|
-new GuiControl(matEdNonModalGroup, EditorGuiGroup) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Profile = "ToolsGuiOverlayProfile";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "1024 768";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiWindowCtrl(matEdSaveDialog) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiWindowProfile";
|
|
|
- HorizSizing = "center";
|
|
|
- VertSizing = "center";
|
|
|
- position = "197 221";
|
|
|
- Extent = "336 104";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "0";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- resizeWidth = "0";
|
|
|
- resizeHeight = "0";
|
|
|
- canMove = "0";
|
|
|
- canClose = "0";
|
|
|
- canMinimize = "0";
|
|
|
- canMaximize = "0";
|
|
|
- minSize = "50 50";
|
|
|
- EdgeSnap = "1";
|
|
|
- text = "Material Not Saved!";
|
|
|
-
|
|
|
- new GuiButtonCtrl(matEd_notSavedWindow_Save) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "8 69";
|
|
|
- Extent = "121 24";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "matEdSaveDialog.dialogSave();";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Save";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl(matEd_materialNotSavedText) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextCenterProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "7 35";
|
|
|
- Extent = "318 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "This material has unsaved changes. Do you wish to save?";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(matEd_notSavedWindow_DontSave) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "157 69";
|
|
|
- Extent = "80 24";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "matEdSaveDialog.dialogDontSave();";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Don\'t Save";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(matEd_notSavedWindow_Cancel) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "245 69";
|
|
|
- Extent = "80 24";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "matEdSaveDialog.dialogCancel();";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Cancel";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiWindowCtrl(matEd_changeCategoryDialog) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiWindowProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "288 144";
|
|
|
- Extent = "248 133";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "0";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- resizeWidth = "0";
|
|
|
- resizeHeight = "0";
|
|
|
- canMove = "0";
|
|
|
- canClose = "0";
|
|
|
- canMinimize = "0";
|
|
|
- canMaximize = "0";
|
|
|
- minSize = "50 50";
|
|
|
- EdgeSnap = "1";
|
|
|
- text = "Change Material Category";
|
|
|
-
|
|
|
- new GuiPopUpMenuCtrl(matEd_changeCategory_categoryList) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "10 32";
|
|
|
- Extent = "183 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- maxLength = "1024";
|
|
|
- maxPopupHeight = "200";
|
|
|
- sbUsesNAColor = "0";
|
|
|
- reverseTextList = "0";
|
|
|
- bitmapBounds = "16 16";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(matEd_changeCategory_okayBtn) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "10 97";
|
|
|
- Extent = "137 24";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.okayChangeCategoryDialog();";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Update Category";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(matEd_changeCategory_cancelBtn) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "159 97";
|
|
|
- Extent = "80 24";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.cancelChangeCategoryDialog();";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Cancel";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(matEd_changeCategory_addCatBtn) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "200 60";
|
|
|
- Extent = "39 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.addCategory();";
|
|
|
- hovertime = "1000";
|
|
|
- text = "New";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl(matEd_changeCategory_catNameEntry) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "10 60";
|
|
|
- Extent = "183 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- maxLength = "1024";
|
|
|
- historySize = "0";
|
|
|
- password = "0";
|
|
|
- tabComplete = "0";
|
|
|
- sinkAllKeyEvents = "0";
|
|
|
- password = "0";
|
|
|
- passwordMask = "*";
|
|
|
- };
|
|
|
- new GuiWindowCtrl(matEd_changeCategory_ErrorDialog) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiWindowProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "8 18";
|
|
|
- Extent = "232 113";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "0";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- resizeWidth = "0";
|
|
|
- resizeHeight = "0";
|
|
|
- canMove = "0";
|
|
|
- canClose = "0";
|
|
|
- canMinimize = "0";
|
|
|
- canMaximize = "0";
|
|
|
- minSize = "50 50";
|
|
|
- EdgeSnap = "1";
|
|
|
- text = "Category Change Error";
|
|
|
-
|
|
|
- new GuiButtonCtrl(matEd_changeCategory_Error_Button) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "72 81";
|
|
|
- Extent = "80 24";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "MaterialEditorGui.okChangeCategoryErrorDialog();";
|
|
|
- hovertime = "1000";
|
|
|
- text = "Ok";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl(matEd_changeCategory_error_Text) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextCenterProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "8 31";
|
|
|
- Extent = "215 40";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Text goes here!";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
-};
|
|
|
-//--- OBJECT WRITE END ---
|