Unity.Profiling.Editor.xsd 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.Overlays" elementFormDefault="qualified" targetNamespace="Unity.Profiling.Editor" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
  4. <xs:complexType name="BackgroundPatternType">
  5. <xs:complexContent mixed="false">
  6. <xs:restriction base="engine:VisualElementType">
  7. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  8. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  9. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  10. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  11. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  12. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  13. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  14. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  15. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  16. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  17. <xs:attribute default="1" name="scale" type="xs:float" use="optional" />
  18. <xs:anyAttribute processContents="lax" />
  19. </xs:restriction>
  20. </xs:complexContent>
  21. </xs:complexType>
  22. <xs:element name="BackgroundPattern" substitutionGroup="engine:VisualElement" xmlns:q1="Unity.Profiling.Editor" type="q1:BackgroundPatternType" />
  23. <xs:complexType name="MemoryUsageBreakdownType">
  24. <xs:complexContent mixed="false">
  25. <xs:restriction base="engine:VisualElementType">
  26. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  27. <xs:element xmlns:q2="Unity.Profiling.Editor" ref="q2:MemoryUsageBreakdownElement" />
  28. </xs:sequence>
  29. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  30. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  31. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  32. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  33. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  34. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  35. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  36. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  37. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  38. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  39. <xs:attribute default="Memory Usage" name="header-text" type="xs:string" use="optional" />
  40. <xs:attribute default="1288490240" name="total-bytes" type="xs:int" use="optional" />
  41. <xs:attribute default="false" name="show-unknown" type="xs:boolean" use="optional" />
  42. <xs:attribute default="Unknown" name="unknown-name" type="xs:string" use="optional" />
  43. <xs:anyAttribute processContents="lax" />
  44. </xs:restriction>
  45. </xs:complexContent>
  46. </xs:complexType>
  47. <xs:element name="MemoryUsageBreakdown" substitutionGroup="engine:VisualElement" xmlns:q3="Unity.Profiling.Editor" type="q3:MemoryUsageBreakdownType" />
  48. <xs:complexType name="MemoryUsageBreakdownElementType">
  49. <xs:complexContent mixed="false">
  50. <xs:restriction base="engine:VisualElementType">
  51. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  52. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  53. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  54. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  55. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  56. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  57. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  58. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  59. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  60. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  61. <xs:attribute default="Other" name="text" type="xs:string" use="optional" />
  62. <xs:attribute default="" name="background-color-class" type="xs:string" use="optional" />
  63. <xs:attribute default="false" name="show-used" type="xs:boolean" use="optional" />
  64. <xs:attribute default="50" name="used-bytes" type="xs:long" use="optional" />
  65. <xs:attribute default="100" name="total-bytes" type="xs:long" use="optional" />
  66. <xs:attribute default="false" name="show-selected" type="xs:boolean" use="optional" />
  67. <xs:attribute default="0" name="selected-bytes" type="xs:long" use="optional" />
  68. <xs:anyAttribute processContents="lax" />
  69. </xs:restriction>
  70. </xs:complexContent>
  71. </xs:complexType>
  72. <xs:element name="MemoryUsageBreakdownElement" substitutionGroup="engine:VisualElement" xmlns:q4="Unity.Profiling.Editor" type="q4:MemoryUsageBreakdownElementType" />
  73. <xs:complexType name="SelectableLabelType">
  74. <xs:complexContent mixed="false">
  75. <xs:restriction base="engine:VisualElementType">
  76. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  77. <xs:element ref="engine:VisualElement" />
  78. </xs:sequence>
  79. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  80. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  81. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  82. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  83. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  84. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  85. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  86. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  87. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  88. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  89. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  90. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  91. <xs:attribute default="" name="value" type="xs:string" use="optional" />
  92. <xs:attribute default="-1" name="max-length" type="xs:int" use="optional" />
  93. <xs:attribute default="false" name="password" type="xs:boolean" use="optional" />
  94. <xs:attribute default="*" name="mask-character" type="xs:string" use="optional" />
  95. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  96. <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" />
  97. <xs:attribute default="false" name="is-delayed" type="xs:boolean" use="optional" />
  98. <xs:attribute default="false" name="multiline" type="xs:boolean" use="optional" />
  99. <xs:anyAttribute processContents="lax" />
  100. </xs:restriction>
  101. </xs:complexContent>
  102. </xs:complexType>
  103. <xs:element name="SelectableLabel" substitutionGroup="engine:VisualElement" xmlns:q5="Unity.Profiling.Editor" type="q5:SelectableLabelType" />
  104. </xs:schema>