UnityEditor.ShaderGraph.Drawing.xsd 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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.ShaderGraph.Drawing" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
  4. <xs:complexType name="ResizableElementType">
  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="ResizableElement" substitutionGroup="engine:VisualElement" xmlns:q1="UnityEditor.ShaderGraph.Drawing" type="q1:ResizableElementType" />
  25. <xs:complexType name="IdentifierFieldType">
  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="true" 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:attribute default="" name="binding-path" type="xs:string" use="optional" />
  42. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  43. <xs:attribute default="" name="value" type="xs:string" use="optional" />
  44. <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" />
  45. <xs:attribute default="false" name="is-delayed" type="xs:boolean" use="optional" />
  46. <xs:anyAttribute processContents="lax" />
  47. </xs:restriction>
  48. </xs:complexContent>
  49. </xs:complexType>
  50. <xs:element name="IdentifierField" substitutionGroup="engine:VisualElement" xmlns:q2="UnityEditor.ShaderGraph.Drawing" type="q2:IdentifierFieldType" />
  51. </xs:schema>