Class BaseCompositeField<TValue, TField, TFieldValue>
This is the base class for the compound fields of type TMain.
Implements
INotifyValueChanged<TValue>
Inherited Members
Namespace: UnityEditor.Experimental.UIElements
Assembly: UnityEditor.dll
Syntax
public abstract class BaseCompositeField<TValue, TField, TFieldValue> : BaseField<TValue>, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<TValue> where TField : TextValueField<TFieldValue>, new()
Type Parameters
Name | Description |
---|---|
TValue | The type of the object to be represented by the fields (example: Vector3) |
TField | The type of a single field in the compound field. (example: for a Vector3, this is FloatField) |
TFieldValue | The basic type of an individual object contained in the TField. (example: for a FloatField, this is a float) |
Constructors
| Improve this Doc View SourceBaseCompositeField()
Declaration
protected BaseCompositeField()
Fields
| Improve this Doc View Sourcem_Fields
Declaration
protected List<TField> m_Fields
Field Value
Type | Description |
---|---|
List<TField> |
Properties
| Improve this Doc View SourcecontentContainer
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
| Improve this Doc View SourcefocusIndex
Declaration
public override int focusIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
Methods
| Improve this Doc View SourceExecuteDefaultAction(EventBase)
Declaration
protected override void ExecuteDefaultAction(EventBase evt)
Parameters
Type | Name | Description |
---|---|---|
EventBase | evt |
Overrides
| Improve this Doc View SourceSetValueWithoutNotify(TValue)
Declaration
public override void SetValueWithoutNotify(TValue newValue)
Parameters
Type | Name | Description |
---|---|---|
TValue | newValue |
Overrides
UnityEngine.Experimental.UIElements.BaseField<TValue>.SetValueWithoutNotify(TValue)