From e1825487eb259e2fd1783ca3fec7f3cf20fec655 Mon Sep 17 00:00:00 2001 From: SofianeLasri <alasri250@gmail.com> Date: Thu, 9 Mar 2023 21:10:51 +0100 Subject: [PATCH] Trigger detection --- Assets/Resources/Prefabs/Platfom.prefab | 2 +- Assets/Scenes/SampleScene.unity | 2 +- Assets/Scripts/BallBehavior.cs | 65 +- Assets/Scripts/PlatformsBehavior.cs | 2 +- ProjectSettings/TagManager.asset | 3 +- UIElementsSchema/UIElements.xsd | 7 + .../UnityEditor.PackageManager.UI.xsd | 368 ++++++++ .../UnityEditor.UIElements.Debugger.xsd | 27 + UIElementsSchema/UnityEditor.UIElements.xsd | 889 ++++++++++++++++++ UIElementsSchema/UnityEngine.UIElements.xsd | 671 +++++++++++++ 10 files changed, 2013 insertions(+), 23 deletions(-) create mode 100644 UIElementsSchema/UIElements.xsd create mode 100644 UIElementsSchema/UnityEditor.PackageManager.UI.xsd create mode 100644 UIElementsSchema/UnityEditor.UIElements.Debugger.xsd create mode 100644 UIElementsSchema/UnityEditor.UIElements.xsd create mode 100644 UIElementsSchema/UnityEngine.UIElements.xsd diff --git a/Assets/Resources/Prefabs/Platfom.prefab b/Assets/Resources/Prefabs/Platfom.prefab index d275dfb..9984304 100644 --- a/Assets/Resources/Prefabs/Platfom.prefab +++ b/Assets/Resources/Prefabs/Platfom.prefab @@ -15,7 +15,7 @@ GameObject: - component: {fileID: 9115919524839369716} m_Layer: 0 m_Name: Platfom - m_TagString: Untagged + m_TagString: Platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index f6b2c92..b967291 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -1642,7 +1642,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2016269826} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 6.82} + m_LocalPosition: {x: 0, y: -0.061, z: 6.819} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 877245233} diff --git a/Assets/Scripts/BallBehavior.cs b/Assets/Scripts/BallBehavior.cs index 6484b25..e8b8a28 100644 --- a/Assets/Scripts/BallBehavior.cs +++ b/Assets/Scripts/BallBehavior.cs @@ -1,7 +1,6 @@ using System; using UnityEngine; using UnityEngine.InputSystem; -using UnityEngine.Serialization; public class BallBehavior : MonoBehaviour { @@ -10,11 +9,13 @@ public class BallBehavior : MonoBehaviour private float _horizontalAxis; public int moveForwardSpeed = 3; public float keyboardMoveSpeed = 15f; - private int _isKeyboard = 0; - private GameObject ball; - private float ballRadius; - private Vector3 ballBottomPos; - private Boolean gameOver = false; + private int _isKeyboard; + private GameObject _ball; + private float _ballRadius; + private Vector3 _ballBottomPos; + private Boolean _gameOver = false; + + private Boolean _hasTriggeredPlatform = false; // Ground Checks [Header("Ground Checks")] @@ -26,39 +27,65 @@ public class BallBehavior : MonoBehaviour { _playerInput = GetComponent<PlayerInput>(); _horizontalAction = _playerInput.currentActionMap.FindAction("Horizontal"); - _horizontalAction.performed += moveActionPerformed; + _horizontalAction.performed += MoveActionPerformed; _horizontalAction.canceled += _ => _horizontalAxis = 0; } void Start() { - ball = GameObject.Find("Ball"); - ballRadius = ball.GetComponent<SphereCollider>().radius; + _ball = GameObject.Find("Ball"); + _ballRadius = _ball.GetComponent<SphereCollider>().radius; } void Update() { - if(!gameOver) + if(!_gameOver) { Vector3 position = transform.position; var deltaTime = Time.deltaTime; position += Vector3.forward * (moveForwardSpeed * deltaTime); - position += Vector3.right * deltaTime * _horizontalAxis; + position += Vector3.right * (deltaTime * _horizontalAxis); transform.position = position; } - ballBottomPos = ball.transform.position + Vector3.down * ballRadius; - isGrounded = Physics.CheckSphere(ballBottomPos, groundCheckDistance, groundMask); + _ballBottomPos = _ball.transform.position + Vector3.down * _ballRadius; + + // isGrounded -> Weird condition because of the trigger check + if (!Physics.CheckSphere(_ballBottomPos, groundCheckDistance, groundMask)) + { + if (isGrounded) + { + _hasTriggeredPlatform = false; + } + isGrounded = false; + } + else + { + isGrounded = true; + } - Debug.Log(ball.transform.localPosition.y); - if(ball.transform.position.y < 0.6f && !isGrounded) + if(_ball.transform.position.y < 0.6f && !isGrounded) + { + Debug.Log("Game Over: " + _ball.transform.position.y + " " + isGrounded); + _gameOver = true; + } + + if (!_hasTriggeredPlatform && isGrounded) { - Debug.Log("Game Over: " + ball.transform.position.y + " " + isGrounded); - gameOver = true; + // We have to get the gameobject just below with a raycast + if (Physics.Raycast(_ballBottomPos, Vector3.down, out var hit, 1f)) + { + if (hit.collider.gameObject.CompareTag("Platform")) + { + Debug.Log("Platform triggered"); + hit.collider.gameObject.GetComponent<PlatformsBehavior>().setActive(); + _hasTriggeredPlatform = true; + } + } } } - private void moveActionPerformed(InputAction.CallbackContext context) + private void MoveActionPerformed(InputAction.CallbackContext context) { if (context.control.device.displayName.Contains("Keyboard")) { @@ -76,6 +103,6 @@ public class BallBehavior : MonoBehaviour { // Dessine une boule rouge pour visualier goundCheckDistance Gizmos.color = Color.red; - Gizmos.DrawSphere(ballBottomPos, groundCheckDistance); + Gizmos.DrawSphere(_ballBottomPos, groundCheckDistance); } } \ No newline at end of file diff --git a/Assets/Scripts/PlatformsBehavior.cs b/Assets/Scripts/PlatformsBehavior.cs index 48fb831..620c810 100644 --- a/Assets/Scripts/PlatformsBehavior.cs +++ b/Assets/Scripts/PlatformsBehavior.cs @@ -6,7 +6,7 @@ public class PlatformsBehavior : MonoBehaviour { public Material activeMaterial; - private void OnTriggerEnter(Collider other) + public void setActive() { GetComponent<Renderer>().material = activeMaterial; } diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset index c45960b..a0debc7 100644 --- a/ProjectSettings/TagManager.asset +++ b/ProjectSettings/TagManager.asset @@ -3,7 +3,8 @@ --- !u!78 &1 TagManager: serializedVersion: 2 - tags: [] + tags: + - Platform layers: - Default - TransparentFX diff --git a/UIElementsSchema/UIElements.xsd b/UIElementsSchema/UIElements.xsd new file mode 100644 index 0000000..3b7d738 --- /dev/null +++ b/UIElementsSchema/UIElements.xsd @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.PackageManager.UI" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" /> + <xs:import schemaLocation="UnityEditor.UIElements.xsd" namespace="UnityEditor.UIElements" /> + <xs:import schemaLocation="UnityEditor.UIElements.Debugger.xsd" namespace="UnityEditor.UIElements.Debugger" /> + <xs:import schemaLocation="UnityEditor.PackageManager.UI.xsd" namespace="UnityEditor.PackageManager.UI" /> +</xs:schema> \ No newline at end of file diff --git a/UIElementsSchema/UnityEditor.PackageManager.UI.xsd b/UIElementsSchema/UnityEditor.PackageManager.UI.xsd new file mode 100644 index 0000000..fae7f74 --- /dev/null +++ b/UIElementsSchema/UnityEditor.PackageManager.UI.xsd @@ -0,0 +1,368 @@ +<?xml version="1.0" encoding="utf-8"?> +<xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.PackageManager.UI" elementFormDefault="qualified" targetNamespace="UnityEditor.PackageManager.UI" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" /> + <xs:complexType name="SelectableLabelType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="" name="value" type="xs:string" use="optional" /> + <xs:attribute default="-1" name="max-length" type="xs:int" use="optional" /> + <xs:attribute default="false" name="password" type="xs:boolean" use="optional" /> + <xs:attribute default="*" name="mask-character" type="xs:string" use="optional" /> + <xs:attribute default="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" /> + <xs:attribute default="false" name="multiline" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="SelectableLabel" substitutionGroup="engine:VisualElement" type="SelectableLabelType" /> + <xs:complexType name="AlertType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Alert" substitutionGroup="engine:VisualElement" type="AlertType" /> + <xs:complexType name="DropdownButtonType"> + <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="text" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="DropdownButton" substitutionGroup="engine:VisualElement" type="DropdownButtonType" /> + <xs:complexType name="LoadingSpinnerType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="LoadingSpinner" substitutionGroup="engine:VisualElement" type="LoadingSpinnerType" /> + <xs:complexType name="InProgressViewType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="InProgressView" substitutionGroup="engine:VisualElement" type="InProgressViewType" /> + <xs:complexType name="PackageDependenciesType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PackageDependencies" substitutionGroup="engine:VisualElement" type="PackageDependenciesType" /> + <xs:complexType name="PackageDetailsType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PackageDetails" substitutionGroup="engine:VisualElement" type="PackageDetailsType" /> + <xs:complexType name="PackageTagLabelType"> + <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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PackageTagLabel" substitutionGroup="engine:VisualElement" type="PackageTagLabelType" /> + <xs:complexType name="PackageListType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PackageList" substitutionGroup="engine:VisualElement" type="PackageListType" /> + <xs:complexType name="PackageLoadBarType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PackageLoadBar" substitutionGroup="engine:VisualElement" type="PackageLoadBarType" /> + <xs:complexType name="PackageManagerToolbarType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PackageManagerToolbar" substitutionGroup="engine:VisualElement" type="PackageManagerToolbarType" /> + <xs:complexType name="PackageSampleListType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PackageSampleList" substitutionGroup="engine:VisualElement" type="PackageSampleListType" /> + <xs:complexType name="PackageStatusBarType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PackageStatusBar" substitutionGroup="engine:VisualElement" type="PackageStatusBarType" /> + <xs:complexType name="PackageToolbarType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PackageToolbar" substitutionGroup="engine:VisualElement" type="PackageToolbarType" /> + <xs:complexType name="ProgressBarType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ProgressBar" substitutionGroup="engine:VisualElement" type="ProgressBarType" /> + <xs:complexType name="ScopedRegistriesSettingsType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ScopedRegistriesSettings" substitutionGroup="engine:VisualElement" type="ScopedRegistriesSettingsType" /> + <xs:complexType name="ToolbarWindowMenuType"> + <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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ToolbarWindowMenu" substitutionGroup="engine:VisualElement" type="ToolbarWindowMenuType" /> +</xs:schema> \ No newline at end of file diff --git a/UIElementsSchema/UnityEditor.UIElements.Debugger.xsd b/UIElementsSchema/UnityEditor.UIElements.Debugger.xsd new file mode 100644 index 0000000..e3d74dc --- /dev/null +++ b/UIElementsSchema/UnityEditor.UIElements.Debugger.xsd @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.PackageManager.UI" elementFormDefault="qualified" targetNamespace="UnityEditor.UIElements.Debugger" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" /> + <xs:complexType name="EventTypeSelectFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="EventTypeSelectField" substitutionGroup="engine:VisualElement" xmlns:q1="UnityEditor.UIElements.Debugger" type="q1:EventTypeSelectFieldType" /> +</xs:schema> \ No newline at end of file diff --git a/UIElementsSchema/UnityEditor.UIElements.xsd b/UIElementsSchema/UnityEditor.UIElements.xsd new file mode 100644 index 0000000..395fcf6 --- /dev/null +++ b/UIElementsSchema/UnityEditor.UIElements.xsd @@ -0,0 +1,889 @@ +<?xml version="1.0" encoding="utf-8"?> +<xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.PackageManager.UI" elementFormDefault="qualified" targetNamespace="UnityEditor.UIElements" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" /> + <xs:simpleType name="PropertyControl_value-type_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Long" /> + <xs:enumeration value="Double" /> + <xs:enumeration value="Int" /> + <xs:enumeration value="Float" /> + <xs:enumeration value="String" /> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="PropertyControlType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute name="value-type" type="editor:PropertyControl_value-type_Type" use="required" /> + <xs:attribute default="" name="value" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PropertyControl" substitutionGroup="engine:VisualElement" type="editor:PropertyControlType" /> + <xs:complexType name="VisualSplitterType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="VisualSplitter" substitutionGroup="engine:VisualElement" type="editor:VisualSplitterType" /> + <xs:complexType name="ToolbarType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Toolbar" substitutionGroup="engine:VisualElement" type="editor:ToolbarType" /> + <xs:complexType name="ToolbarButtonType"> + <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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ToolbarButton" substitutionGroup="engine:VisualElement" type="editor:ToolbarButtonType" /> + <xs:complexType name="ToolbarToggleType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="false" name="value" type="xs:boolean" use="optional" /> + <xs:attribute default="" name="text" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ToolbarToggle" substitutionGroup="engine:VisualElement" type="editor:ToolbarToggleType" /> + <xs:complexType name="ToolbarSpacerType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ToolbarSpacer" substitutionGroup="engine:VisualElement" type="editor:ToolbarSpacerType" /> + <xs:complexType name="ToolbarMenuType"> + <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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ToolbarMenu" substitutionGroup="engine:VisualElement" type="editor:ToolbarMenuType" /> + <xs:complexType name="ToolbarSearchFieldType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ToolbarSearchField" substitutionGroup="engine:VisualElement" type="editor:ToolbarSearchFieldType" /> + <xs:complexType name="ToolbarPopupSearchFieldType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ToolbarPopupSearchField" substitutionGroup="engine:VisualElement" type="editor:ToolbarPopupSearchFieldType" /> + <xs:complexType name="ToolbarBreadcrumbsType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ToolbarBreadcrumbs" substitutionGroup="engine:VisualElement" type="editor:ToolbarBreadcrumbsType" /> + <xs:complexType name="PropertyFieldType"> + <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="" 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="" name="label" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PropertyField" substitutionGroup="engine:VisualElement" type="editor:PropertyFieldType" /> + <xs:complexType name="InspectorElementType"> + <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="" name="view-data-key" type="xs:string" use="optional" /> + <xs:attribute default="Ignore" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="InspectorElement" substitutionGroup="engine:VisualElement" type="editor:InspectorElementType" /> + <xs:complexType name="FloatFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="value" type="xs:float" use="optional" /> + <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="FloatField" substitutionGroup="engine:VisualElement" type="editor:FloatFieldType" /> + <xs:complexType name="DoubleFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="value" type="xs:double" use="optional" /> + <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="DoubleField" substitutionGroup="engine:VisualElement" type="editor:DoubleFieldType" /> + <xs:complexType name="IntegerFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="value" type="xs:int" use="optional" /> + <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="IntegerField" substitutionGroup="engine:VisualElement" type="editor:IntegerFieldType" /> + <xs:complexType name="LongFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="value" type="xs:long" use="optional" /> + <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="LongField" substitutionGroup="engine:VisualElement" type="editor:LongFieldType" /> + <xs:complexType name="CurveFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="CurveField" substitutionGroup="engine:VisualElement" type="editor:CurveFieldType" /> + <xs:complexType name="ObjectFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="true" name="allow-scene-objects" type="xs:boolean" use="optional" /> + <xs:attribute default="null" name="type" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ObjectField" substitutionGroup="engine:VisualElement" type="editor:ObjectFieldType" /> + <xs:complexType name="ColorFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="RGBA(0.000, 0.000, 0.000, 1.000)" name="value" type="xs:string" use="optional" /> + <xs:attribute default="true" name="show-eye-dropper" type="xs:boolean" use="optional" /> + <xs:attribute default="true" name="show-alpha" type="xs:boolean" use="optional" /> + <xs:attribute default="false" name="hdr" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ColorField" substitutionGroup="engine:VisualElement" type="editor:ColorFieldType" /> + <xs:complexType name="EnumFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="null" name="type" type="xs:string" use="optional" /> + <xs:attribute default="" name="value" type="xs:string" use="optional" /> + <xs:attribute default="false" name="include-obsolete-values" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="EnumField" substitutionGroup="engine:VisualElement" type="editor:EnumFieldType" /> + <xs:complexType name="MaskFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="" name="choices" type="xs:string" use="optional" /> + <xs:attribute default="0" name="value" type="xs:int" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="MaskField" substitutionGroup="engine:VisualElement" type="editor:MaskFieldType" /> + <xs:complexType name="LayerMaskFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="value" type="xs:int" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="LayerMaskField" substitutionGroup="engine:VisualElement" type="editor:LayerMaskFieldType" /> + <xs:complexType name="LayerFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="value" type="xs:int" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="LayerField" substitutionGroup="engine:VisualElement" type="editor:LayerFieldType" /> + <xs:complexType name="TagFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="" name="value" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="TagField" substitutionGroup="engine:VisualElement" type="editor:TagFieldType" /> + <xs:complexType name="GradientFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="GradientField" substitutionGroup="engine:VisualElement" type="editor:GradientFieldType" /> + <xs:complexType name="EnumFlagsFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="null" name="type" type="xs:string" use="optional" /> + <xs:attribute default="" name="value" type="xs:string" use="optional" /> + <xs:attribute default="false" name="include-obsolete-values" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="EnumFlagsField" substitutionGroup="engine:VisualElement" type="editor:EnumFlagsFieldType" /> + <xs:complexType name="RectFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="x" type="xs:float" use="optional" /> + <xs:attribute default="0" name="y" type="xs:float" use="optional" /> + <xs:attribute default="0" name="w" type="xs:float" use="optional" /> + <xs:attribute default="0" name="h" type="xs:float" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="RectField" substitutionGroup="engine:VisualElement" type="editor:RectFieldType" /> + <xs:complexType name="Vector2FieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="x" type="xs:float" use="optional" /> + <xs:attribute default="0" name="y" type="xs:float" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Vector2Field" substitutionGroup="engine:VisualElement" type="editor:Vector2FieldType" /> + <xs:complexType name="Vector3FieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="x" type="xs:float" use="optional" /> + <xs:attribute default="0" name="y" type="xs:float" use="optional" /> + <xs:attribute default="0" name="z" type="xs:float" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Vector3Field" substitutionGroup="engine:VisualElement" type="editor:Vector3FieldType" /> + <xs:complexType name="Vector4FieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="x" type="xs:float" use="optional" /> + <xs:attribute default="0" name="y" type="xs:float" use="optional" /> + <xs:attribute default="0" name="z" type="xs:float" use="optional" /> + <xs:attribute default="0" name="w" type="xs:float" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Vector4Field" substitutionGroup="engine:VisualElement" type="editor:Vector4FieldType" /> + <xs:complexType name="BoundsFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="cx" type="xs:float" use="optional" /> + <xs:attribute default="0" name="cy" type="xs:float" use="optional" /> + <xs:attribute default="0" name="cz" type="xs:float" use="optional" /> + <xs:attribute default="0" name="ex" type="xs:float" use="optional" /> + <xs:attribute default="0" name="ey" type="xs:float" use="optional" /> + <xs:attribute default="0" name="ez" type="xs:float" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="BoundsField" substitutionGroup="engine:VisualElement" type="editor:BoundsFieldType" /> + <xs:complexType name="RectIntFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="x" type="xs:int" use="optional" /> + <xs:attribute default="0" name="y" type="xs:int" use="optional" /> + <xs:attribute default="0" name="w" type="xs:int" use="optional" /> + <xs:attribute default="0" name="h" type="xs:int" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="RectIntField" substitutionGroup="engine:VisualElement" type="editor:RectIntFieldType" /> + <xs:complexType name="Vector2IntFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="x" type="xs:int" use="optional" /> + <xs:attribute default="0" name="y" type="xs:int" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Vector2IntField" substitutionGroup="engine:VisualElement" type="editor:Vector2IntFieldType" /> + <xs:complexType name="Vector3IntFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="x" type="xs:int" use="optional" /> + <xs:attribute default="0" name="y" type="xs:int" use="optional" /> + <xs:attribute default="0" name="z" type="xs:int" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Vector3IntField" substitutionGroup="engine:VisualElement" type="editor:Vector3IntFieldType" /> + <xs:complexType name="BoundsIntFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="px" type="xs:int" use="optional" /> + <xs:attribute default="0" name="py" type="xs:int" use="optional" /> + <xs:attribute default="0" name="pz" type="xs:int" use="optional" /> + <xs:attribute default="0" name="sx" type="xs:int" use="optional" /> + <xs:attribute default="0" name="sy" type="xs:int" use="optional" /> + <xs:attribute default="0" name="sz" type="xs:int" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="BoundsIntField" substitutionGroup="engine:VisualElement" type="editor:BoundsIntFieldType" /> + <xs:complexType name="ProgressBarType"> + <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="" 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="0" name="low-value" type="xs:float" use="optional" /> + <xs:attribute default="100" name="high-value" type="xs:float" use="optional" /> + <xs:attribute default="" name="title" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ProgressBar" substitutionGroup="engine:VisualElement" type="editor:ProgressBarType" /> +</xs:schema> \ No newline at end of file diff --git a/UIElementsSchema/UnityEngine.UIElements.xsd b/UIElementsSchema/UnityEngine.UIElements.xsd new file mode 100644 index 0000000..8f69652 --- /dev/null +++ b/UIElementsSchema/UnityEngine.UIElements.xsd @@ -0,0 +1,671 @@ +<?xml version="1.0" encoding="utf-8"?> +<xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.PackageManager.UI" elementFormDefault="qualified" targetNamespace="UnityEngine.UIElements" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:complexType name="UXMLType"> + <xs:complexContent mixed="false"> + <xs:restriction base="xs:anyType"> + <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="" name="class" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="UXML" type="engine:UXMLType" /> + <xs:simpleType name="VisualElement_picking-mode_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Position" /> + <xs:enumeration value="Ignore" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="VisualElement_usage-hints_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="None" /> + <xs:enumeration value="DynamicTransform" /> + <xs:enumeration value="GroupTransform" /> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="VisualElementType"> + <xs:complexContent mixed="false"> + <xs:restriction base="xs:anyType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="VisualElement" type="engine:VisualElementType" /> + <xs:complexType name="IMGUIContainerType"> + <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="true" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="IMGUIContainer" substitutionGroup="engine:VisualElement" type="engine:IMGUIContainerType" /> + <xs:complexType name="ImageType"> + <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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Image" substitutionGroup="engine:VisualElement" type="engine:ImageType" /> + <xs:complexType name="LabelType"> + <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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Label" substitutionGroup="engine:VisualElement" type="engine:LabelType" /> + <xs:complexType name="RepeatButtonType"> + <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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" /> + <xs:attribute default="0" name="delay" type="xs:long" use="optional" /> + <xs:attribute default="0" name="interval" type="xs:long" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="RepeatButton" substitutionGroup="engine:VisualElement" type="engine:RepeatButtonType" /> + <xs:simpleType name="ScrollView_mode_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Vertical" /> + <xs:enumeration value="Horizontal" /> + <xs:enumeration value="VerticalAndHorizontal" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="ScrollView_touch-scroll-type_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Unrestricted" /> + <xs:enumeration value="Elastic" /> + <xs:enumeration value="Clamped" /> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="ScrollViewType"> + <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="" 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="Vertical" name="mode" type="engine:ScrollView_mode_Type" use="optional" /> + <xs:attribute default="false" name="show-horizontal-scroller" type="xs:boolean" use="optional" /> + <xs:attribute default="false" name="show-vertical-scroller" type="xs:boolean" use="optional" /> + <xs:attribute default="20" name="horizontal-page-size" type="xs:float" use="optional" /> + <xs:attribute default="20" name="vertical-page-size" type="xs:float" use="optional" /> + <xs:attribute default="Clamped" name="touch-scroll-type" type="engine:ScrollView_touch-scroll-type_Type" use="optional" /> + <xs:attribute default="0.135" name="scroll-deceleration-rate" type="xs:float" use="optional" /> + <xs:attribute default="0.1" name="elasticity" type="xs:float" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ScrollView" substitutionGroup="engine:VisualElement" type="engine:ScrollViewType" /> + <xs:simpleType name="Scroller_direction_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Horizontal" /> + <xs:enumeration value="Vertical" /> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="ScrollerType"> + <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="0" name="low-value" type="xs:float" use="optional" /> + <xs:attribute default="0" name="high-value" type="xs:float" use="optional" /> + <xs:attribute default="Vertical" name="direction" type="engine:Scroller_direction_Type" use="optional" /> + <xs:attribute default="0" name="value" type="xs:float" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Scroller" substitutionGroup="engine:VisualElement" type="engine:ScrollerType" /> + <xs:simpleType name="Slider_direction_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Horizontal" /> + <xs:enumeration value="Vertical" /> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="SliderType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="value" type="xs:float" use="optional" /> + <xs:attribute default="0" name="low-value" type="xs:float" use="optional" /> + <xs:attribute default="10" name="high-value" type="xs:float" use="optional" /> + <xs:attribute default="0" name="page-size" type="xs:float" use="optional" /> + <xs:attribute default="false" name="show-input-field" type="xs:boolean" use="optional" /> + <xs:attribute default="Horizontal" name="direction" type="engine:Slider_direction_Type" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Slider" substitutionGroup="engine:VisualElement" type="engine:SliderType" /> + <xs:simpleType name="SliderInt_direction_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Horizontal" /> + <xs:enumeration value="Vertical" /> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="SliderIntType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="value" type="xs:int" use="optional" /> + <xs:attribute default="0" name="low-value" type="xs:int" use="optional" /> + <xs:attribute default="10" name="high-value" type="xs:int" use="optional" /> + <xs:attribute default="0" name="page-size" type="xs:int" use="optional" /> + <xs:attribute default="false" name="show-input-field" type="xs:boolean" use="optional" /> + <xs:attribute default="Horizontal" name="direction" type="engine:SliderInt_direction_Type" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="SliderInt" substitutionGroup="engine:VisualElement" type="engine:SliderIntType" /> + <xs:complexType name="MinMaxSliderType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="0" name="min-value" type="xs:float" use="optional" /> + <xs:attribute default="10" name="max-value" type="xs:float" use="optional" /> + <xs:attribute default="-3.402823E+38" name="low-limit" type="xs:float" use="optional" /> + <xs:attribute default="3.402823E+38" name="high-limit" type="xs:float" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="MinMaxSlider" substitutionGroup="engine:VisualElement" type="engine:MinMaxSliderType" /> + <xs:complexType name="ToggleType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="false" name="value" type="xs:boolean" use="optional" /> + <xs:attribute default="" name="text" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Toggle" substitutionGroup="engine:VisualElement" type="engine:ToggleType" /> + <xs:complexType name="TextFieldType"> + <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="" 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="true" 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="" name="label" type="xs:string" use="optional" /> + <xs:attribute default="" name="value" type="xs:string" use="optional" /> + <xs:attribute default="-1" name="max-length" type="xs:int" use="optional" /> + <xs:attribute default="false" name="password" type="xs:boolean" use="optional" /> + <xs:attribute default="*" name="mask-character" type="xs:string" use="optional" /> + <xs:attribute default="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" /> + <xs:attribute default="false" name="multiline" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="TextField" substitutionGroup="engine:VisualElement" type="engine:TextFieldType" /> + <xs:complexType name="InstanceType"> + <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 name="template" type="xs:string" use="required" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Instance" substitutionGroup="engine:VisualElement" type="engine:InstanceType" /> + <xs:complexType name="BoxType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Box" substitutionGroup="engine:VisualElement" type="engine:BoxType" /> + <xs:simpleType name="HelpBox_message-type_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="None" /> + <xs:enumeration value="Info" /> + <xs:enumeration value="Warning" /> + <xs:enumeration value="Error" /> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="HelpBoxType"> + <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="" 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="text" type="xs:string" use="optional" /> + <xs:attribute default="None" name="message-type" type="engine:HelpBox_message-type_Type" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="HelpBox" substitutionGroup="engine:VisualElement" type="engine:HelpBoxType" /> + <xs:complexType name="PopupWindowType"> + <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="" 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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="PopupWindow" substitutionGroup="engine:VisualElement" type="engine:PopupWindowType" /> + <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" type="engine:ListView_selection-type_Type" use="optional" /> + <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:ListView_show-alternating-row-backgrounds_Type" use="optional" /> + <xs:attribute default="false" name="reorderable" type="xs:boolean" use="optional" /> + <xs:attribute default="true" name="show-bound-collection-size" type="xs:boolean" use="optional" /> + <xs:attribute default="false" name="horizontal-scrolling" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="ListView" substitutionGroup="engine:VisualElement" type="engine:ListViewType" /> + <xs:simpleType name="TwoPaneSplitView_orientation_Type"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Horizontal" /> + <xs:enumeration value="Vertical" /> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="TwoPaneSplitViewType"> + <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="0" name="fixed-pane-index" type="xs:int" use="optional" /> + <xs:attribute default="100" name="fixed-pane-initial-dimension" type="xs:int" use="optional" /> + <xs:attribute default="Horizontal" name="orientation" type="engine:TwoPaneSplitView_orientation_Type" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="TwoPaneSplitView" substitutionGroup="engine:VisualElement" type="engine:TwoPaneSplitViewType" /> + <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:simpleType name="TreeView_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="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" type="engine:TreeView_selection-type_Type" use="optional" /> + <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:TreeView_show-alternating-row-backgrounds_Type" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="TreeView" substitutionGroup="engine:VisualElement" type="engine:TreeViewType" /> + <xs:complexType name="FoldoutType"> + <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="" 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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="true" name="value" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Foldout" substitutionGroup="engine:VisualElement" type="engine:FoldoutType" /> + <xs:complexType name="BindableElementType"> + <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="" 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:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="BindableElement" substitutionGroup="engine:VisualElement" type="engine:BindableElementType" /> + <xs:complexType name="TextElementType"> + <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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="TextElement" substitutionGroup="engine:VisualElement" type="engine:TextElementType" /> + <xs:complexType name="TemplateType"> + <xs:complexContent mixed="false"> + <xs:restriction base="engine:VisualElementType"> + <xs:attribute name="name" type="xs:string" use="required" /> + <xs:attribute default="" name="path" type="xs:string" use="optional" /> + <xs:attribute default="" name="src" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Template" substitutionGroup="engine:VisualElement" type="engine:TemplateType" /> + <xs:complexType name="StyleType"> + <xs:complexContent mixed="false"> + <xs:restriction base="engine:VisualElementType"> + <xs:attribute default="" name="name" type="xs:string" use="optional" /> + <xs:attribute default="" name="path" type="xs:string" use="optional" /> + <xs:attribute default="" name="src" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Style" substitutionGroup="engine:VisualElement" type="engine:StyleType" /> + <xs:complexType name="AttributeOverridesType"> + <xs:complexContent mixed="false"> + <xs:restriction base="engine:VisualElementType"> + <xs:attribute name="element-name" type="xs:string" use="required" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="AttributeOverrides" substitutionGroup="engine:VisualElement" type="engine:AttributeOverridesType" /> + <xs:complexType name="ButtonType"> + <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="" name="text" type="xs:string" use="optional" /> + <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:element name="Button" substitutionGroup="engine:VisualElement" type="engine:ButtonType" /> +</xs:schema> \ No newline at end of file -- GitLab