UnityEditor.UIElements.xsd 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  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.UIElements" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
  4. <xs:simpleType name="PropertyControl_value-type_Type">
  5. <xs:restriction base="xs:string">
  6. <xs:enumeration value="Long" />
  7. <xs:enumeration value="Double" />
  8. <xs:enumeration value="Int" />
  9. <xs:enumeration value="Float" />
  10. <xs:enumeration value="String" />
  11. </xs:restriction>
  12. </xs:simpleType>
  13. <xs:complexType name="PropertyControlType">
  14. <xs:complexContent mixed="false">
  15. <xs:restriction base="engine:VisualElementType">
  16. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  17. <xs:element ref="engine:VisualElement" />
  18. </xs:sequence>
  19. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  20. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  21. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  22. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  23. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  24. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  25. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  26. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  27. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  28. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  29. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  30. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  31. <xs:attribute name="value-type" type="editor:PropertyControl_value-type_Type" use="required" />
  32. <xs:attribute default="" name="value" type="xs:string" use="optional" />
  33. <xs:anyAttribute processContents="lax" />
  34. </xs:restriction>
  35. </xs:complexContent>
  36. </xs:complexType>
  37. <xs:element name="PropertyControl" substitutionGroup="engine:VisualElement" type="editor:PropertyControlType" />
  38. <xs:complexType name="ToolbarType">
  39. <xs:complexContent mixed="false">
  40. <xs:restriction base="engine:VisualElementType">
  41. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  42. <xs:element ref="engine:VisualElement" />
  43. </xs:sequence>
  44. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  45. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  46. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  47. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  48. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  49. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  50. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  51. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  52. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  53. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  54. <xs:anyAttribute processContents="lax" />
  55. </xs:restriction>
  56. </xs:complexContent>
  57. </xs:complexType>
  58. <xs:element name="Toolbar" substitutionGroup="engine:VisualElement" type="editor:ToolbarType" />
  59. <xs:complexType name="ToolbarButtonType">
  60. <xs:complexContent mixed="false">
  61. <xs:restriction base="engine:VisualElementType">
  62. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  63. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  64. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  65. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  66. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  67. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  68. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  69. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  70. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  71. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  72. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  73. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  74. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  75. <xs:attribute default="false" name="parse-escape-sequences" type="xs:boolean" use="optional" />
  76. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  77. <xs:anyAttribute processContents="lax" />
  78. </xs:restriction>
  79. </xs:complexContent>
  80. </xs:complexType>
  81. <xs:element name="ToolbarButton" substitutionGroup="engine:VisualElement" type="editor:ToolbarButtonType" />
  82. <xs:complexType name="ToolbarMenuType">
  83. <xs:complexContent mixed="false">
  84. <xs:restriction base="engine:VisualElementType">
  85. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  86. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  87. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  88. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  89. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  90. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  91. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  92. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  93. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  94. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  95. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  96. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  97. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  98. <xs:attribute default="false" name="parse-escape-sequences" type="xs:boolean" use="optional" />
  99. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  100. <xs:anyAttribute processContents="lax" />
  101. </xs:restriction>
  102. </xs:complexContent>
  103. </xs:complexType>
  104. <xs:element name="ToolbarMenu" substitutionGroup="engine:VisualElement" type="editor:ToolbarMenuType" />
  105. <xs:complexType name="ToolbarSearchFieldType">
  106. <xs:complexContent mixed="false">
  107. <xs:restriction base="engine:VisualElementType">
  108. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  109. <xs:element ref="engine:VisualElement" />
  110. </xs:sequence>
  111. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  112. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  113. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  114. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  115. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  116. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  117. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  118. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  119. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  120. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  121. <xs:anyAttribute processContents="lax" />
  122. </xs:restriction>
  123. </xs:complexContent>
  124. </xs:complexType>
  125. <xs:element name="ToolbarSearchField" substitutionGroup="engine:VisualElement" type="editor:ToolbarSearchFieldType" />
  126. <xs:complexType name="EnumFlagsFieldType">
  127. <xs:complexContent mixed="false">
  128. <xs:restriction base="engine:VisualElementType">
  129. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  130. <xs:element ref="engine:VisualElement" />
  131. </xs:sequence>
  132. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  133. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  134. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  135. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  136. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  137. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  138. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  139. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  140. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  141. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  142. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  143. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  144. <xs:attribute default="null" name="type" type="xs:string" use="optional" />
  145. <xs:attribute default="" name="value" type="xs:string" use="optional" />
  146. <xs:attribute default="false" name="include-obsolete-values" type="xs:boolean" use="optional" />
  147. <xs:anyAttribute processContents="lax" />
  148. </xs:restriction>
  149. </xs:complexContent>
  150. </xs:complexType>
  151. <xs:element name="EnumFlagsField" substitutionGroup="engine:VisualElement" type="editor:EnumFlagsFieldType" />
  152. <xs:complexType name="UnityEventItemType">
  153. <xs:complexContent mixed="false">
  154. <xs:restriction base="engine:VisualElementType">
  155. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  156. <xs:element ref="engine:VisualElement" />
  157. </xs:sequence>
  158. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  159. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  160. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  161. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  162. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  163. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  164. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  165. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  166. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  167. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  168. <xs:anyAttribute processContents="lax" />
  169. </xs:restriction>
  170. </xs:complexContent>
  171. </xs:complexType>
  172. <xs:element name="UnityEventItem" substitutionGroup="engine:VisualElement" type="editor:UnityEventItemType" />
  173. <xs:complexType name="ToolbarToggleType">
  174. <xs:complexContent mixed="false">
  175. <xs:restriction base="engine:VisualElementType">
  176. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  177. <xs:element ref="engine:VisualElement" />
  178. </xs:sequence>
  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="false" 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="label" type="xs:string" use="optional" />
  191. <xs:attribute default="false" name="value" type="xs:boolean" use="optional" />
  192. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  193. <xs:anyAttribute processContents="lax" />
  194. </xs:restriction>
  195. </xs:complexContent>
  196. </xs:complexType>
  197. <xs:element name="ToolbarToggle" substitutionGroup="engine:VisualElement" type="editor:ToolbarToggleType" />
  198. <xs:complexType name="ColorFieldType">
  199. <xs:complexContent mixed="false">
  200. <xs:restriction base="engine:VisualElementType">
  201. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  202. <xs:element ref="engine:VisualElement" />
  203. </xs:sequence>
  204. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  205. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  206. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  207. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  208. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  209. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  210. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  211. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  212. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  213. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  214. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  215. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  216. <xs:attribute default="RGBA(0.000, 0.000, 0.000, 1.000)" name="value" type="xs:string" use="optional" />
  217. <xs:attribute default="true" name="show-eye-dropper" type="xs:boolean" use="optional" />
  218. <xs:attribute default="true" name="show-alpha" type="xs:boolean" use="optional" />
  219. <xs:attribute default="false" name="hdr" type="xs:boolean" use="optional" />
  220. <xs:anyAttribute processContents="lax" />
  221. </xs:restriction>
  222. </xs:complexContent>
  223. </xs:complexType>
  224. <xs:element name="ColorField" substitutionGroup="engine:VisualElement" type="editor:ColorFieldType" />
  225. <xs:complexType name="ToolbarPopupSearchFieldType">
  226. <xs:complexContent mixed="false">
  227. <xs:restriction base="engine:VisualElementType">
  228. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  229. <xs:element ref="engine:VisualElement" />
  230. </xs:sequence>
  231. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  232. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  233. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  234. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  235. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  236. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  237. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  238. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  239. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  240. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  241. <xs:anyAttribute processContents="lax" />
  242. </xs:restriction>
  243. </xs:complexContent>
  244. </xs:complexType>
  245. <xs:element name="ToolbarPopupSearchField" substitutionGroup="engine:VisualElement" type="editor:ToolbarPopupSearchFieldType" />
  246. <xs:complexType name="MinMaxGradientFieldType">
  247. <xs:complexContent mixed="false">
  248. <xs:restriction base="engine:VisualElementType">
  249. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  250. <xs:element ref="engine:VisualElement" />
  251. </xs:sequence>
  252. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  253. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  254. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  255. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  256. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  257. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  258. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  259. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  260. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  261. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  262. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  263. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  264. <xs:anyAttribute processContents="lax" />
  265. </xs:restriction>
  266. </xs:complexContent>
  267. </xs:complexType>
  268. <xs:element name="MinMaxGradientField" substitutionGroup="engine:VisualElement" type="editor:MinMaxGradientFieldType" />
  269. <xs:complexType name="LayerMaskFieldType">
  270. <xs:complexContent mixed="false">
  271. <xs:restriction base="engine:VisualElementType">
  272. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  273. <xs:element ref="engine:VisualElement" />
  274. </xs:sequence>
  275. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  276. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  277. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  278. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  279. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  280. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  281. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  282. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  283. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  284. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  285. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  286. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  287. <xs:attribute default="0" name="value" type="xs:int" use="optional" />
  288. <xs:anyAttribute processContents="lax" />
  289. </xs:restriction>
  290. </xs:complexContent>
  291. </xs:complexType>
  292. <xs:element name="LayerMaskField" substitutionGroup="engine:VisualElement" type="editor:LayerMaskFieldType" />
  293. <xs:complexType name="ToolbarSpacerType">
  294. <xs:complexContent mixed="false">
  295. <xs:restriction base="engine:VisualElementType">
  296. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  297. <xs:element ref="engine:VisualElement" />
  298. </xs:sequence>
  299. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  300. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  301. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  302. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  303. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  304. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  305. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  306. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  307. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  308. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  309. <xs:anyAttribute processContents="lax" />
  310. </xs:restriction>
  311. </xs:complexContent>
  312. </xs:complexType>
  313. <xs:element name="ToolbarSpacer" substitutionGroup="engine:VisualElement" type="editor:ToolbarSpacerType" />
  314. <xs:complexType name="DropdownOptionListItemType">
  315. <xs:complexContent mixed="false">
  316. <xs:restriction base="engine:VisualElementType">
  317. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  318. <xs:element ref="engine:VisualElement" />
  319. </xs:sequence>
  320. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  321. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  322. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  323. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  324. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  325. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  326. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  327. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  328. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  329. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  330. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  331. <xs:anyAttribute processContents="lax" />
  332. </xs:restriction>
  333. </xs:complexContent>
  334. </xs:complexType>
  335. <xs:element name="DropdownOptionListItem" substitutionGroup="engine:VisualElement" type="editor:DropdownOptionListItemType" />
  336. <xs:complexType name="VisualSplitterType">
  337. <xs:complexContent mixed="false">
  338. <xs:restriction base="engine:VisualElementType">
  339. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  340. <xs:element ref="engine:VisualElement" />
  341. </xs:sequence>
  342. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  343. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  344. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  345. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  346. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  347. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  348. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  349. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  350. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  351. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  352. <xs:anyAttribute processContents="lax" />
  353. </xs:restriction>
  354. </xs:complexContent>
  355. </xs:complexType>
  356. <xs:element name="VisualSplitter" substitutionGroup="engine:VisualElement" type="editor:VisualSplitterType" />
  357. <xs:complexType name="GradientFieldType">
  358. <xs:complexContent mixed="false">
  359. <xs:restriction base="engine:VisualElementType">
  360. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  361. <xs:element ref="engine:VisualElement" />
  362. </xs:sequence>
  363. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  364. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  365. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  366. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  367. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  368. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  369. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  370. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  371. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  372. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  373. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  374. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  375. <xs:anyAttribute processContents="lax" />
  376. </xs:restriction>
  377. </xs:complexContent>
  378. </xs:complexType>
  379. <xs:element name="GradientField" substitutionGroup="engine:VisualElement" type="editor:GradientFieldType" />
  380. <xs:complexType name="MaskFieldType">
  381. <xs:complexContent mixed="false">
  382. <xs:restriction base="engine:VisualElementType">
  383. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  384. <xs:element ref="engine:VisualElement" />
  385. </xs:sequence>
  386. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  387. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  388. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  389. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  390. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  391. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  392. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  393. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  394. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  395. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  396. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  397. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  398. <xs:attribute default="" name="choices" type="xs:string" use="optional" />
  399. <xs:attribute default="0" name="value" type="xs:int" use="optional" />
  400. <xs:anyAttribute processContents="lax" />
  401. </xs:restriction>
  402. </xs:complexContent>
  403. </xs:complexType>
  404. <xs:element name="MaskField" substitutionGroup="engine:VisualElement" type="editor:MaskFieldType" />
  405. <xs:complexType name="ToolbarBreadcrumbsType">
  406. <xs:complexContent mixed="false">
  407. <xs:restriction base="engine:VisualElementType">
  408. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  409. <xs:element ref="engine:VisualElement" />
  410. </xs:sequence>
  411. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  412. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  413. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  414. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  415. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  416. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  417. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  418. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  419. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  420. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  421. <xs:anyAttribute processContents="lax" />
  422. </xs:restriction>
  423. </xs:complexContent>
  424. </xs:complexType>
  425. <xs:element name="ToolbarBreadcrumbs" substitutionGroup="engine:VisualElement" type="editor:ToolbarBreadcrumbsType" />
  426. <xs:complexType name="InspectorElementType">
  427. <xs:complexContent mixed="false">
  428. <xs:restriction base="engine:VisualElementType">
  429. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  430. <xs:element ref="engine:VisualElement" />
  431. </xs:sequence>
  432. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  433. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  434. <xs:attribute default="Ignore" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  435. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  436. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  437. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  438. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  439. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  440. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  441. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  442. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  443. <xs:anyAttribute processContents="lax" />
  444. </xs:restriction>
  445. </xs:complexContent>
  446. </xs:complexType>
  447. <xs:element name="InspectorElement" substitutionGroup="engine:VisualElement" type="editor:InspectorElementType" />
  448. <xs:complexType name="PropertyFieldType">
  449. <xs:complexContent mixed="false">
  450. <xs:restriction base="engine:VisualElementType">
  451. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  452. <xs:element ref="engine:VisualElement" />
  453. </xs:sequence>
  454. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  455. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  456. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  457. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  458. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  459. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  460. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  461. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  462. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  463. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  464. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  465. <xs:attribute name="label" type="xs:string" use="optional" />
  466. <xs:anyAttribute processContents="lax" />
  467. </xs:restriction>
  468. </xs:complexContent>
  469. </xs:complexType>
  470. <xs:element name="PropertyField" substitutionGroup="engine:VisualElement" type="editor:PropertyFieldType" />
  471. <xs:complexType name="LayerFieldType">
  472. <xs:complexContent mixed="false">
  473. <xs:restriction base="engine:VisualElementType">
  474. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  475. <xs:element ref="engine:VisualElement" />
  476. </xs:sequence>
  477. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  478. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  479. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  480. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  481. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  482. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  483. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  484. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  485. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  486. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  487. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  488. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  489. <xs:attribute default="0" name="value" type="xs:int" use="optional" />
  490. <xs:anyAttribute processContents="lax" />
  491. </xs:restriction>
  492. </xs:complexContent>
  493. </xs:complexType>
  494. <xs:element name="LayerField" substitutionGroup="engine:VisualElement" type="editor:LayerFieldType" />
  495. <xs:complexType name="CurveFieldType">
  496. <xs:complexContent mixed="false">
  497. <xs:restriction base="engine:VisualElementType">
  498. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  499. <xs:element ref="engine:VisualElement" />
  500. </xs:sequence>
  501. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  502. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  503. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  504. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  505. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  506. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  507. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  508. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  509. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  510. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  511. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  512. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  513. <xs:anyAttribute processContents="lax" />
  514. </xs:restriction>
  515. </xs:complexContent>
  516. </xs:complexType>
  517. <xs:element name="CurveField" substitutionGroup="engine:VisualElement" type="editor:CurveFieldType" />
  518. <xs:complexType name="ObjectFieldType">
  519. <xs:complexContent mixed="false">
  520. <xs:restriction base="engine:VisualElementType">
  521. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  522. <xs:element ref="engine:VisualElement" />
  523. </xs:sequence>
  524. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  525. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  526. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  527. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  528. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  529. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  530. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  531. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  532. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  533. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  534. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  535. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  536. <xs:attribute default="true" name="allow-scene-objects" type="xs:boolean" use="optional" />
  537. <xs:attribute default="UnityEngine.Object" name="type" type="xs:string" use="optional" />
  538. <xs:anyAttribute processContents="lax" />
  539. </xs:restriction>
  540. </xs:complexContent>
  541. </xs:complexType>
  542. <xs:element name="ObjectField" substitutionGroup="engine:VisualElement" type="editor:ObjectFieldType" />
  543. <xs:complexType name="TagFieldType">
  544. <xs:complexContent mixed="false">
  545. <xs:restriction base="engine:VisualElementType">
  546. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  547. <xs:element ref="engine:VisualElement" />
  548. </xs:sequence>
  549. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  550. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  551. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  552. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  553. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  554. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  555. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  556. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  557. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  558. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  559. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  560. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  561. <xs:attribute default="" name="value" type="xs:string" use="optional" />
  562. <xs:anyAttribute processContents="lax" />
  563. </xs:restriction>
  564. </xs:complexContent>
  565. </xs:complexType>
  566. <xs:element name="TagField" substitutionGroup="engine:VisualElement" type="editor:TagFieldType" />
  567. </xs:schema>