BaseUxmlTraits
Base class that describes a VisualElement derived class for the parsing of UXML files and the generation of UXML schema definition.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public abstract class BaseUxmlTraits
Properties
Property | Description |
|---|---|
| canHaveAnyAttribute | Must return true if the UXML element attributes are not restricted to the values enumerated by BaseUxmlTraits.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. |