Class TextElement.UxmlTraits
Defines TextElement.UxmlTraits for the TextElement.
Inheritance
TextElement.UxmlTraits
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class UxmlTraits : BindableElement.UxmlTraits
Properties
uxmlChildElementsDescription
Enumerator to get the child elements of the TextElement.UxmlTraits of TextElement.
Declaration
public override IEnumerable<UxmlChildElementDescription> uxmlChildElementsDescription { get; }
Property Value
Type | Description |
---|---|
IEnumerable<UxmlChildElementDescription> |
Overrides
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initializer for the TextElement.UxmlTraits for the TextElement.
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | VisualElement to initialize. |
IUxmlAttributes | bag | Bag of attributes where to get the value from. |
CreationContext | cc | Creation Context, not used. |