UnityEditor.U2D.Animation.SpriteLibraryEditor.xsd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.ShortcutManagement" elementFormDefault="qualified" targetNamespace="UnityEditor.U2D.Animation.SpriteLibraryEditor" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
  4. <xs:complexType name="EditorTabHeaderType">
  5. <xs:complexContent mixed="false">
  6. <xs:restriction base="engine:VisualElementType">
  7. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  8. <xs:element ref="engine:VisualElement" />
  9. </xs:sequence>
  10. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  11. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  12. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  13. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  14. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  15. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  16. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  17. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  18. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  19. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  20. <xs:anyAttribute processContents="lax" />
  21. </xs:restriction>
  22. </xs:complexContent>
  23. </xs:complexType>
  24. <xs:element name="EditorTabHeader" substitutionGroup="engine:VisualElement" xmlns:q1="UnityEditor.U2D.Animation.SpriteLibraryEditor" type="q1:EditorTabHeaderType" />
  25. <xs:complexType name="EditorTopToolbarType">
  26. <xs:complexContent mixed="false">
  27. <xs:restriction base="engine:VisualElementType">
  28. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  29. <xs:element ref="engine:VisualElement" />
  30. </xs:sequence>
  31. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  32. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  33. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  34. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  35. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  36. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  37. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  38. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  39. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  40. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  41. <xs:anyAttribute processContents="lax" />
  42. </xs:restriction>
  43. </xs:complexContent>
  44. </xs:complexType>
  45. <xs:element name="EditorTopToolbar" substitutionGroup="engine:VisualElement" xmlns:q2="UnityEditor.U2D.Animation.SpriteLibraryEditor" type="q2:EditorTopToolbarType" />
  46. <xs:complexType name="CategoriesTabType">
  47. <xs:complexContent mixed="false">
  48. <xs:restriction base="engine:VisualElementType">
  49. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  50. <xs:element ref="engine:VisualElement" />
  51. </xs:sequence>
  52. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  53. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  54. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  55. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  56. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  57. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  58. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  59. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  60. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  61. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  62. <xs:anyAttribute processContents="lax" />
  63. </xs:restriction>
  64. </xs:complexContent>
  65. </xs:complexType>
  66. <xs:element name="CategoriesTab" substitutionGroup="engine:VisualElement" xmlns:q3="UnityEditor.U2D.Animation.SpriteLibraryEditor" type="q3:CategoriesTabType" />
  67. <xs:complexType name="LabelsTabType">
  68. <xs:complexContent mixed="false">
  69. <xs:restriction base="engine:VisualElementType">
  70. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  71. <xs:element ref="engine:VisualElement" />
  72. </xs:sequence>
  73. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  74. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  75. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  76. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  77. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  78. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  79. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  80. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  81. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  82. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  83. <xs:anyAttribute processContents="lax" />
  84. </xs:restriction>
  85. </xs:complexContent>
  86. </xs:complexType>
  87. <xs:element name="LabelsTab" substitutionGroup="engine:VisualElement" xmlns:q4="UnityEditor.U2D.Animation.SpriteLibraryEditor" type="q4:LabelsTabType" />
  88. <xs:complexType name="EditorBottomToolbarType">
  89. <xs:complexContent mixed="false">
  90. <xs:restriction base="engine:VisualElementType">
  91. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  92. <xs:element ref="engine:VisualElement" />
  93. </xs:sequence>
  94. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  95. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  96. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  97. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  98. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  99. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  100. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  101. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  102. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  103. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  104. <xs:anyAttribute processContents="lax" />
  105. </xs:restriction>
  106. </xs:complexContent>
  107. </xs:complexType>
  108. <xs:element name="EditorBottomToolbar" substitutionGroup="engine:VisualElement" xmlns:q5="UnityEditor.U2D.Animation.SpriteLibraryEditor" type="q5:EditorBottomToolbarType" />
  109. <xs:complexType name="EditorMainWindowType">
  110. <xs:complexContent mixed="false">
  111. <xs:restriction base="engine:VisualElementType">
  112. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  113. <xs:element ref="engine:VisualElement" />
  114. </xs:sequence>
  115. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  116. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  117. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  118. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  119. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  120. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  121. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  122. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  123. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  124. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  125. <xs:anyAttribute processContents="lax" />
  126. </xs:restriction>
  127. </xs:complexContent>
  128. </xs:complexType>
  129. <xs:element name="EditorMainWindow" substitutionGroup="engine:VisualElement" xmlns:q6="UnityEditor.U2D.Animation.SpriteLibraryEditor" type="q6:EditorMainWindowType" />
  130. <xs:simpleType name="GridView_selection-type_Type">
  131. <xs:restriction base="xs:string">
  132. <xs:enumeration value="None" />
  133. <xs:enumeration value="Single" />
  134. <xs:enumeration value="Multiple" />
  135. </xs:restriction>
  136. </xs:simpleType>
  137. <xs:complexType name="GridViewType">
  138. <xs:complexContent mixed="false">
  139. <xs:restriction base="engine:VisualElementType">
  140. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  141. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  142. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  143. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  144. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  145. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  146. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  147. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  148. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  149. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  150. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  151. <xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
  152. <xs:attribute default="Single" name="selection-type" xmlns:q7="UnityEditor.U2D.Animation.SpriteLibraryEditor" type="q7:GridView_selection-type_Type" use="optional" />
  153. <xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
  154. <xs:anyAttribute processContents="lax" />
  155. </xs:restriction>
  156. </xs:complexContent>
  157. </xs:complexType>
  158. <xs:element name="GridView" substitutionGroup="engine:VisualElement" xmlns:q8="UnityEditor.U2D.Animation.SpriteLibraryEditor" type="q8:GridViewType" />
  159. </xs:schema>