Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

HeatmapValuesEditor.uxml 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
  2. <ui:VisualElement view-data-key="sg-heatmap-editor" class="sg-heatmap">
  3. <ui:HelpBox
  4. class="sg-heatmap__help-box"
  5. message-type="Info"
  6. text="To use a custom data source for the Heatmap color mode, assign the Heatmap Values Asset in Edit > Project Settings > ShaderGraph.">
  7. </ui:HelpBox>
  8. <ui:ListView
  9. name="colors-list"
  10. class="sg-heatmap__list"
  11. view-data-key="colors-list"
  12. header-title="Categories"
  13. show-foldout-header="true"
  14. fixed-item-height="20"
  15. reorderable="true"
  16. reorder-mode="Animated"
  17. show-border="true"
  18. show-add-remove-footer="true"/>
  19. <ui:HelpBox
  20. name="refresh-nodes-hint"
  21. class="sg-heatmap__help-box"
  22. message-type="Info"
  23. text="This project contains nodes that are not listed in this Heatmap Values Asset. Refresh the node list to generate entries for them.">
  24. <ui:Button name="refresh-nodes-button" text="Refresh Node List"/>
  25. </ui:HelpBox>
  26. <ui:MultiColumnListView
  27. name="subgraph-list"
  28. class="sg-heatmap__list"
  29. view-data-key="subgraph-list"
  30. header-title="Subgraphs"
  31. fixed-item-height="20"
  32. show-border="true"
  33. show-foldout-header="true"
  34. selection-type="Multiple"
  35. show-add-remove-footer="true">
  36. <ui:Columns primary-column-name="subgraph" reorderable="false">
  37. <ui:Column name="subgraph" title="Subgraph" width="250" optional="false"/>
  38. <ui:Column name="value" title="Category" width="80" optional="false"/>
  39. </ui:Columns>
  40. </ui:MultiColumnListView>
  41. <ui:MultiColumnListView
  42. name="nodes-list"
  43. class="sg-heatmap__list"
  44. view-data-key="nodes-list"
  45. header-title="Nodes"
  46. fixed-item-height="20"
  47. show-border="true"
  48. show-foldout-header="true"
  49. selection-type="Multiple"
  50. show-bound-collection-size="false">
  51. <ui:Columns primary-column-name="node" reorderable="false">
  52. <ui:Column name="node" title="Node" width="250" optional="false"/>
  53. <ui:Column name="value" title="Category" width="80" optional="false"/>
  54. </ui:Columns>
  55. </ui:MultiColumnListView>
  56. </ui:VisualElement>
  57. </ui:UXML>