Class UxmlRootElementTraits
Defines UxmlTraits for the UXML root element.
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class UxmlRootElementTraits : UxmlTraits
Fields
m_Name
Declaration
protected UxmlStringAttributeDescription m_Name
Field Value
Type | Description |
---|---|
UxmlStringAttributeDescription |
Properties
uxmlChildElementsDescription
Returns an enumerable containing UxmlChildElementDescription(typeof(VisualElement))
, since the root element can contain VisualElements.
Declaration
public override IEnumerable<UxmlChildElementDescription> uxmlChildElementsDescription { get; }
Property Value
Type | Description |
---|---|
IEnumerable<UxmlChildElementDescription> |