update
This commit is contained in:
45
UIElementsSchema/Hallucinate.UI.Components.xsd
Normal file
45
UIElementsSchema/Hallucinate.UI.Components.xsd
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="Hallucinate.UI.Components" elementFormDefault="qualified" targetNamespace="Hallucinate.UI.Components" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
|
||||
<xs:simpleType name="VectorShapeElement_shape-type_Type">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Pill" />
|
||||
<xs:enumeration value="Polygon" />
|
||||
<xs:enumeration value="Star" />
|
||||
<xs:enumeration value="CustomPath" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="VectorShapeElementType">
|
||||
<xs:complexContent mixed="false">
|
||||
<xs:restriction base="engine:VisualElementType">
|
||||
<xs:sequence minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="engine:VisualElement" />
|
||||
</xs:sequence>
|
||||
<xs:attribute default="" name="name" type="xs:string" use="optional" />
|
||||
<xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
|
||||
<xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
|
||||
<xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
|
||||
<xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
|
||||
<xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
|
||||
<xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
|
||||
<xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
|
||||
<xs:attribute default="" name="class" type="xs:string" use="optional" />
|
||||
<xs:attribute default="" name="content-container" type="xs:string" use="optional" />
|
||||
<xs:attribute default="" name="style" type="xs:string" use="optional" />
|
||||
<xs:attribute default="null" name="data-source" type="xs:string" use="optional" />
|
||||
<xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
|
||||
<xs:attribute default="null" name="data-source-type" type="xs:string" use="optional" />
|
||||
<xs:attribute default="Pill" name="shape-type" type="VectorShapeElement_shape-type_Type" use="optional" />
|
||||
<xs:attribute default="RGBA(1.000, 1.000, 1.000, 1.000)" name="fill-color" type="xs:string" use="optional" />
|
||||
<xs:attribute default="RGBA(0.000, 0.000, 0.000, 1.000)" name="stroke-color" type="xs:string" use="optional" />
|
||||
<xs:attribute default="2" name="stroke-width" type="xs:float" use="optional" />
|
||||
<xs:attribute default="10" name="corner-radius" type="xs:float" use="optional" />
|
||||
<xs:attribute default="5" name="sides" type="xs:int" use="optional" />
|
||||
<xs:attribute default="0.5" name="star-inwardness" type="xs:float" use="optional" />
|
||||
<xs:attribute default="" name="path-data" type="xs:string" use="optional" />
|
||||
<xs:anyAttribute processContents="lax" />
|
||||
</xs:restriction>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:element name="VectorShapeElement" substitutionGroup="engine:VisualElement" type="VectorShapeElementType" />
|
||||
</xs:schema>
|
||||
Reference in New Issue
Block a user