Class TextValueFieldTraits<TValueType, TValueUxmlAttributeType>
Specifies the
Inheritance
BaseFieldTraits<TValueType, TValueUxmlAttributeType>
TextValueFieldTraits<TValueType, TValueUxmlAttributeType>
Inherited Members
Namespace: UnityEditor.UIElements
Syntax
public class TextValueFieldTraits<TValueType, TValueUxmlAttributeType> : BaseFieldTraits<TValueType, TValueUxmlAttributeType> where TValueUxmlAttributeType : TypedUxmlAttributeDescription<TValueType>, new()
Type Parameters
Name | Description |
---|---|
TValueType | |
TValueUxmlAttributeType |
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initializes the
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | The VisualElement to initialize. |
IUxmlAttributes | bag | A bag of UXML attribute name-value pairs used to initialize VisualElement members. |
CreationContext | cc | The creation context associated with these traits. |
Overrides
UnityEngine.UIElements.BaseFieldTraits<TValueType, TValueUxmlAttributeType>.Init(UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)