UnityEditor.Experimental.GraphView.xsd 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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="UnityEditor.Experimental.GraphView" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
  4. <xs:complexType name="PillType">
  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="false" name="highlighted" type="xs:boolean" use="optional" />
  18. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  19. <xs:anyAttribute processContents="lax" />
  20. </xs:restriction>
  21. </xs:complexContent>
  22. </xs:complexType>
  23. <xs:element name="Pill" substitutionGroup="engine:VisualElement" xmlns:q1="UnityEditor.Experimental.GraphView" type="q1:PillType" />
  24. <xs:complexType name="ResizableElementType">
  25. <xs:complexContent mixed="false">
  26. <xs:restriction base="engine:VisualElementType">
  27. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  28. <xs:element ref="engine:VisualElement" />
  29. </xs:sequence>
  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="false" 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="ResizableElement" substitutionGroup="engine:VisualElement" xmlns:q2="UnityEditor.Experimental.GraphView" type="q2:ResizableElementType" />
  45. <xs:complexType name="StickyNoteType">
  46. <xs:complexContent mixed="false">
  47. <xs:restriction base="engine:VisualElementType">
  48. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  49. <xs:element ref="engine:VisualElement" />
  50. </xs:sequence>
  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:anyAttribute processContents="lax" />
  62. </xs:restriction>
  63. </xs:complexContent>
  64. </xs:complexType>
  65. <xs:element name="StickyNote" substitutionGroup="engine:VisualElement" xmlns:q3="UnityEditor.Experimental.GraphView" type="q3:StickyNoteType" />
  66. </xs:schema>