class MAGES::Editor::DropDownSelect::UxmlFactory

Overview

The UXML factory. More…

class UxmlFactory
{
public:
    // fields

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

    // properties

    override string uxmlName;

    // methods

    override VisualElement Create(IUxmlAttributes bag, CreationContext cc);
};

Detailed Documentation

The UXML factory.

Fields

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

The text attribute.

Properties

override string uxmlName

Gets the UXML name.

Methods

override VisualElement Create(IUxmlAttributes bag, CreationContext cc)

Creates the specified element.

Parameters:

bag

Bag.

cc

Context.

Returns:

The visual element.