Scripting API

UIDocument

class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from MonoBehaviour

6 of 11 of Unity's membersUnity's documentation
In Tassix

A UI Toolkit document on a GameObject: while enabled, its UXML is cloned under a root element in its panel settings' panel.

Fields 1

static readonly string k_RootStyleClassName

Properties 6

PanelSettings? panelSettings { get; set; }
UIDocument? parentUI { get; }
VisualElement? rootVisualElement { get; }
IPanel? runtimePanel { get; }
float sortingOrder { get; set; }
VisualTreeAsset? visualTreeAsset { get; set; }

Not in Tassix yet 5

pivot pivotReferenceSize position worldSpaceSize worldSpaceSizeMode

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.