LayerField
A LayerField editor. For more information, refer to UXML element LayerField.
Read time 8 minutesLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor.CoreModule
- Inherits from: PopupField<int>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, INotifyValueChanged<int>, IMixedValueSupport
[Icon("UIToolkit/Icons/LayerField.png")]public class LayerField : PopupField<int>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, INotifyValueChanged<int>, IMixedValueSupport
Static Fields
Value | Description |
|---|---|
| inputUssClassName | USS class name of input elements in elements of this type. |
| labelUssClassName | USS class name of labels in elements of this type. |
| ussClassName | USS class name of elements of this type. |
Constructors
Constructor | Description |
|---|---|
| LayerField() | Initializes and returns an instance of LayerField. |
| LayerField(System.Int32) | Initializes and returns an instance of LayerField. |
| LayerField(System.String) | Initializes and returns an instance of LayerField. |
| LayerField(System.String,System.Int32) | Initializes and returns an instance of LayerField. |
Properties
Property | Description |
|---|---|
| formatListItemCallback | Unsupported. |
| formatSelectedValueCallback | Unsupported. |