您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
70 行
4.7 KiB
70 行
4.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.Overlays" elementFormDefault="qualified" targetNamespace="Unity.Editor.Bridge" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
|
|
<xs:simpleType name="TreeView_selection-type_Type">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="None" />
|
|
<xs:enumeration value="Single" />
|
|
<xs:enumeration value="Multiple" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:complexType name="TreeViewType">
|
|
<xs:complexContent mixed="false">
|
|
<xs:restriction base="engine:VisualElementType">
|
|
<xs:attribute default="" name="name" type="xs:string" 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="30" name="item-height" type="xs:int" use="optional" />
|
|
<xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
|
|
<xs:attribute default="Single" name="selection-type" xmlns:q1="Unity.Editor.Bridge" type="q1:TreeView_selection-type_Type" use="optional" />
|
|
<xs:anyAttribute processContents="lax" />
|
|
</xs:restriction>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
<xs:element name="TreeView" substitutionGroup="engine:VisualElement" xmlns:q2="Unity.Editor.Bridge" type="q2:TreeViewType" />
|
|
<xs:simpleType name="ListView_selection-type_Type">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="None" />
|
|
<xs:enumeration value="Single" />
|
|
<xs:enumeration value="Multiple" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:simpleType name="ListView_show-alternating-row-backgrounds_Type">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="None" />
|
|
<xs:enumeration value="ContentOnly" />
|
|
<xs:enumeration value="All" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:complexType name="ListViewType">
|
|
<xs:complexContent mixed="false">
|
|
<xs:restriction base="engine:VisualElementType">
|
|
<xs:attribute default="" name="name" type="xs:string" 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="" name="binding-path" type="xs:string" use="optional" />
|
|
<xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
|
|
<xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
|
|
<xs:attribute default="Single" name="selection-type" xmlns:q3="Unity.Editor.Bridge" type="q3:ListView_selection-type_Type" use="optional" />
|
|
<xs:attribute default="None" name="show-alternating-row-backgrounds" xmlns:q4="Unity.Editor.Bridge" type="q4:ListView_show-alternating-row-backgrounds_Type" use="optional" />
|
|
<xs:attribute default="true" name="show-bound-collection-size" type="xs:boolean" use="optional" />
|
|
<xs:anyAttribute processContents="lax" />
|
|
</xs:restriction>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
<xs:element name="ListView" substitutionGroup="engine:VisualElement" xmlns:q5="Unity.Editor.Bridge" type="q5:ListViewType" />
|
|
</xs:schema>
|