Class LayerField
Inheritance
LayerField
Implements
Inherited Members
Namespace: UnityEditor.Experimental.UIElements
Assembly: UnityEditor.dll
Syntax
public class LayerField : PopupField<int>, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<int>
Constructors
| Improve this Doc View SourceLayerField()
Declaration
public LayerField()
LayerField(Int32)
Declaration
public LayerField(int defaultValue)
Parameters
Type | Name | Description |
---|---|---|
Int32 | defaultValue |
Properties
| Improve this Doc View SourceformatListItemCallback
Declaration
public override Func<int, string> formatListItemCallback { get; set; }
Property Value
Type | Description |
---|---|
Func<Int32, String> |
Overrides
UnityEditor.Experimental.UIElements.PopupField<System.Int32>.formatListItemCallback
|
Improve this Doc
View Source
formatSelectedValueCallback
Declaration
public override Func<int, string> formatSelectedValueCallback { get; set; }
Property Value
Type | Description |
---|---|
Func<Int32, String> |
Overrides
UnityEditor.Experimental.UIElements.PopupField<System.Int32>.formatSelectedValueCallback
|
Improve this Doc
View Source
value
Declaration
public override int value { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
UnityEditor.Experimental.UIElements.PopupField<System.Int32>.value
Methods
| Improve this Doc View SourceSetValueWithoutNotify(Int32)
Declaration
public override void SetValueWithoutNotify(int newValue)
Parameters
Type | Name | Description |
---|---|---|
Int32 | newValue |
Overrides
UnityEditor.Experimental.UIElements.PopupField<System.Int32>.SetValueWithoutNotify(System.Int32)