Class LayerMaskField
Make a field for layer as masks.
Inheritance
LayerMaskField
Inherited Members
Namespace: UnityEditor.UIElements
Syntax
public class LayerMaskField : MaskField, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IBindable, INotifyValueChanged<int>, IMixedValueSupport
Constructors
LayerMaskField()
Constructor of the field.
Declaration
public LayerMaskField()
LayerMaskField(Int32)
Constructor of the field.
Declaration
public LayerMaskField(int defaultMask)
Parameters
Type | Name | Description |
---|---|---|
Int32 | defaultMask | The mask to use for a first selection. |
LayerMaskField(String)
Constructor of the field.
Declaration
public LayerMaskField(string label)
Parameters
Type | Name | Description |
---|---|---|
String | label | The label to prefix the LayerMaskField. |
LayerMaskField(String, Int32)
Constructor of the field.
Declaration
public LayerMaskField(string label, int defaultMask)
Parameters
Type | Name | Description |
---|---|---|
String | label | The label to prefix the LayerMaskField. |
Int32 | defaultMask | The mask to use for a first selection. |
Fields
inputUssClassName
USS class name of input elements in elements of this type.
Declaration
public static readonly string inputUssClassName
Field Value
Type | Description |
---|---|
String |
labelUssClassName
USS class name of labels in elements of this type.
Declaration
public static readonly string labelUssClassName
Field Value
Type | Description |
---|---|
String |
ussClassName
USS class name of elements of this type.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
String |
Properties
formatListItemCallback
Unsupported.
Declaration
public override Func<string, string> formatListItemCallback { get; set; }
Property Value
Type | Description |
---|---|
Func<String, String> |
Overrides
formatSelectedValueCallback
Unsupported.
Declaration
public override Func<string, string> formatSelectedValueCallback { get; set; }
Property Value
Type | Description |
---|---|
Func<String, String> |