LayerField
A LayerField editor. For more information, refer to UXML element LayerField.
Read time 9 minutesLast updated 21 hours ago
Definition
- Type: Class
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor.CoreModule
- Inherits from: PopupField<int>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<int>
[UxmlElement(visibility = LibraryVisibility.Visible)][Icon("UIToolkit/Icons/LayerField.png")]public class LayerField : PopupField<int>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<int>
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. |