class MAGES::Editor::EditableLabel::UxmlTraits

Overview

The UXML traits. More…

class UxmlTraits: public VisualElement.UxmlTraits
{
public:
    // fields

    UxmlStringAttributeDescription m_Text = new UxmlStringAttributeDescription { name = "text", defaultValue = "Name" };

    // methods

    override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc);
};

Detailed Documentation

The UXML traits.

Fields

UxmlStringAttributeDescription m_Text = new UxmlStringAttributeDescription { name = "text", defaultValue = "Name" }

The text attribute.