Class LayerField.UxmlTraits
Defines LayerField.UxmlTraits for the LayerField.
Inheritance
LayerField.UxmlTraits
Inherited Members
Namespace: UnityEditor.UIElements
Syntax
public class UxmlTraits : BaseField<int>.UxmlTraits
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initialize the traits.
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | VisualElement that will be created and populated. |
IUxmlAttributes | bag | Bag of attributes where the data comes from. |
CreationContext | cc | Creation context, unused. |
Overrides
UnityEngine.UIElements.BaseField<System.Int32>.UxmlTraits.Init(UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)