This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

UxmlTraits

class in UnityEditor.Experimental.GraphView

/

Inherits from:UIElements.VisualElement.UxmlTraits

Description

Defines UxmlTraits for the Pill.

Properties

uxmlChildElementsDescriptionReturns an empty enumerable, as pill elements do not have children.

Constructors

Pill.UxmlTraitsConstructor.

Public Methods

InitInitialize Pill properties using values from the attribute bag.

Inherited Members

Properties

canHaveAnyAttribute Must return true if the UXML element attributes are not restricted to the values enumerated by uxmlAttributesDescription.
uxmlAttributesDescription Describes the UXML attributes expected by the element. The attributes enumerated here will appear in the UXML schema.
uxmlChildElementsDescription Describes the types of element that can appear as children of this element in a UXML file.
focusable The focusable attribute.
focusIndex The focus index attribute.
uxmlChildElementsDescription Returns an enumerable containing UxmlChildElementDescription(typeof(VisualElement)), since VisualElements can contain other VisualElements.