Class BindableElement.UxmlTraits
Defines BindableElement.UxmlTraits for the BindableElement.
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class UxmlTraits : VisualElement.UxmlTraits
Constructors
UxmlTraits()
Constructor.
Declaration
public UxmlTraits()
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initialize BindableElement properties using values from the attribute bag.
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | |
IUxmlAttributes | bag | |
CreationContext | cc |