Martin Thorzen
7 年前
当前提交
bf9b4a4c
共有 9 个文件被更改,包括 105 次插入 和 60 次删除
-
19MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialGraphView.cs
-
23MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs
-
1MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/NodeSettingsView.cs
-
50MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/PBRSettingsView.cs
-
25MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/Styles/NodeSettings.uss
-
22MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/Styles/PBRSettings.uss
-
2MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/UXML/NodeSettings.uxml
-
15MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/UXML/PBRSettings.uxml
-
8MaterialGraphProject/Assets/UnityShaderEditor/Editor/Util/UIUtilities.cs
|
|||
NodeSettingsView { |
|||
position-type: absolute; |
|||
position-left: 215; |
|||
position-top: 4; |
|||
} |
|||
|
|||
/*width: 200;*/ |
|||
width: 200; |
|||
/*background-color: #e8596e; |
|||
border-color: #e8596e; |
|||
background-color: rgba(0, 0, 0, 0.7); |
|||
border-color: #000000; |
|||
border-top-width: 5px; |
|||
border-right-width: 25px; |
|||
border-top-right-radius: 6px;*/ |
|||
border-top-width: 1px; |
|||
border-bottom-width: 1px; |
|||
border-right-width: 1px; |
|||
border-left-width: 1px; |
|||
border-top-left-radius: 4px; |
|||
border-top-right-radius: 4px; |
|||
border-bottom-right-radius: 4px; |
|||
border-bottom-left-radius: 4px; |
|||
} |
|||
} |
|
|||
<UXML xmlns:ui="UnityEngine.Experimental.UIElements"> |
|||
<ui:VisualElement name="mainContainer"> |
|||
<Style path="Styles/NodeSettings"/> |
|||
<ui:Label name="title" text="Node Settings"/> |
|||
<ui:VisualElement name="contentContainer"> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|
|||
<UXML xmlns:ui="UnityEngine.Experimental.UIElements"> |
|||
<UXML xmlns:ui="UnityEngine.Experimental.UIElements" |
|||
xmlns:sg="UnityEditor.ShaderGraph.Drawing"> |
|||
<ui:VisualElement class="row" pickingMode="Ignore"> |
|||
<!-- <ui:VisualElement name="itemContainer" pickingMode="Ignore" /> --> |
|||
<ui:Label class="label" name="typeLabel" text = "Plopp" pickingMode="Ignore" /> |
|||
<ui:Label text="im an enum" pickingMode="Ignore" /> |
|||
<ui:VisualElement name="itemContainer" pickingMode="Ignore" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement class="row" pickingMode="Ignore"> |
|||
<!-- <ui:VisualElement name="itemContainer" pickingMode="Ignore" /> --> |
|||
<ui:Label class="label" name="typeLabel" text = "Plopp" pickingMode="Ignore" /> |
|||
<sg:EnumElement /> |
|||
<ui:VisualElement name="itemContainer" pickingMode="Ignore" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
</UXML> |
|||
|
撰写
预览
正在加载...
取消
保存
Reference in new issue