UnityEditor.Tilemaps.xsd 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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.Tilemaps" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
  4. <xs:complexType name="TilePaletteActiveTargetsPopupType">
  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="true" 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:attribute default="" name="binding-path" type="xs:string" use="optional" />
  21. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  22. <xs:anyAttribute processContents="lax" />
  23. </xs:restriction>
  24. </xs:complexContent>
  25. </xs:complexType>
  26. <xs:element name="TilePaletteActiveTargetsPopup" substitutionGroup="engine:VisualElement" xmlns:q1="UnityEditor.Tilemaps" type="q1:TilePaletteActiveTargetsPopupType" />
  27. <xs:complexType name="TilePaletteBrushInspectorElementType">
  28. <xs:complexContent mixed="false">
  29. <xs:restriction base="engine:VisualElementType">
  30. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  31. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  32. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  33. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  34. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  35. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  36. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  37. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  38. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  39. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  40. <xs:anyAttribute processContents="lax" />
  41. </xs:restriction>
  42. </xs:complexContent>
  43. </xs:complexType>
  44. <xs:element name="TilePaletteBrushInspectorElement" substitutionGroup="engine:VisualElement" xmlns:q2="UnityEditor.Tilemaps" type="q2:TilePaletteBrushInspectorElementType" />
  45. <xs:complexType name="TilePaletteClipboardElementType">
  46. <xs:complexContent mixed="false">
  47. <xs:restriction base="engine:VisualElementType">
  48. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  49. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  50. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  51. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  52. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  53. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  54. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  55. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  56. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  57. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  58. <xs:anyAttribute processContents="lax" />
  59. </xs:restriction>
  60. </xs:complexContent>
  61. </xs:complexType>
  62. <xs:element name="TilePaletteClipboardElement" substitutionGroup="engine:VisualElement" xmlns:q3="UnityEditor.Tilemaps" type="q3:TilePaletteClipboardElementType" />
  63. <xs:complexType name="TilePaletteActivePalettePopupType">
  64. <xs:complexContent mixed="false">
  65. <xs:restriction base="engine:VisualElementType">
  66. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  67. <xs:element ref="engine:VisualElement" />
  68. </xs:sequence>
  69. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  70. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  71. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  72. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  73. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  74. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  75. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  76. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  77. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  78. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  79. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  80. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  81. <xs:anyAttribute processContents="lax" />
  82. </xs:restriction>
  83. </xs:complexContent>
  84. </xs:complexType>
  85. <xs:element name="TilePaletteActivePalettePopup" substitutionGroup="engine:VisualElement" xmlns:q4="UnityEditor.Tilemaps" type="q4:TilePaletteActivePalettePopupType" />
  86. <xs:complexType name="TilePaletteBrushesPopupType">
  87. <xs:complexContent mixed="false">
  88. <xs:restriction base="engine:VisualElementType">
  89. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  90. <xs:element ref="engine:VisualElement" />
  91. </xs:sequence>
  92. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  93. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  94. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  95. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  96. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  97. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  98. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  99. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  100. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  101. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  102. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  103. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  104. <xs:anyAttribute processContents="lax" />
  105. </xs:restriction>
  106. </xs:complexContent>
  107. </xs:complexType>
  108. <xs:element name="TilePaletteBrushesPopup" substitutionGroup="engine:VisualElement" xmlns:q5="UnityEditor.Tilemaps" type="q5:TilePaletteBrushesPopupType" />
  109. <xs:complexType name="TilePaletteFocusDropdownType">
  110. <xs:complexContent mixed="false">
  111. <xs:restriction base="engine:VisualElementType">
  112. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  113. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  114. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  115. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  116. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  117. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  118. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  119. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  120. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  121. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  122. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  123. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  124. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  125. <xs:attribute default="false" name="parse-escape-sequences" type="xs:boolean" use="optional" />
  126. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  127. <xs:anyAttribute processContents="lax" />
  128. </xs:restriction>
  129. </xs:complexContent>
  130. </xs:complexType>
  131. <xs:element name="TilePaletteFocusDropdown" substitutionGroup="engine:VisualElement" xmlns:q6="UnityEditor.Tilemaps" type="q6:TilePaletteFocusDropdownType" />
  132. <xs:complexType name="TilePaletteBrushesLabelType">
  133. <xs:complexContent mixed="false">
  134. <xs:restriction base="engine:VisualElementType">
  135. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  136. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  137. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  138. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  139. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  140. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  141. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  142. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  143. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  144. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  145. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  146. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  147. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  148. <xs:attribute default="false" name="parse-escape-sequences" type="xs:boolean" use="optional" />
  149. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  150. <xs:anyAttribute processContents="lax" />
  151. </xs:restriction>
  152. </xs:complexContent>
  153. </xs:complexType>
  154. <xs:element name="TilePaletteBrushesLabel" substitutionGroup="engine:VisualElement" xmlns:q7="UnityEditor.Tilemaps" type="q7:TilePaletteBrushesLabelType" />
  155. <xs:complexType name="GridPaintingToolbarType">
  156. <xs:complexContent mixed="false">
  157. <xs:restriction base="engine:VisualElementType">
  158. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  159. <xs:element ref="engine:VisualElement" />
  160. </xs:sequence>
  161. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  162. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  163. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  164. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  165. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  166. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  167. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  168. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  169. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  170. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  171. <xs:anyAttribute processContents="lax" />
  172. </xs:restriction>
  173. </xs:complexContent>
  174. </xs:complexType>
  175. <xs:element name="GridPaintingToolbar" substitutionGroup="engine:VisualElement" xmlns:q8="UnityEditor.Tilemaps" type="q8:GridPaintingToolbarType" />
  176. <xs:complexType name="TilePaletteBrushesButtonType">
  177. <xs:complexContent mixed="false">
  178. <xs:restriction base="engine:VisualElementType">
  179. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  180. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  181. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  182. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  183. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  184. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  185. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  186. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  187. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  188. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  189. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  190. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  191. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  192. <xs:attribute default="false" name="parse-escape-sequences" type="xs:boolean" use="optional" />
  193. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  194. <xs:anyAttribute processContents="lax" />
  195. </xs:restriction>
  196. </xs:complexContent>
  197. </xs:complexType>
  198. <xs:element name="TilePaletteBrushesButton" substitutionGroup="engine:VisualElement" xmlns:q9="UnityEditor.Tilemaps" type="q9:TilePaletteBrushesButtonType" />
  199. <xs:complexType name="TilePaletteElementType">
  200. <xs:complexContent mixed="false">
  201. <xs:restriction base="engine:VisualElementType">
  202. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  203. <xs:element ref="engine:VisualElement" />
  204. </xs:sequence>
  205. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  206. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  207. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  208. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  209. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  210. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  211. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  212. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  213. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  214. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  215. <xs:anyAttribute processContents="lax" />
  216. </xs:restriction>
  217. </xs:complexContent>
  218. </xs:complexType>
  219. <xs:element name="TilePaletteElement" substitutionGroup="engine:VisualElement" xmlns:q10="UnityEditor.Tilemaps" type="q10:TilePaletteElementType" />
  220. </xs:schema>