Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MaskField

The MaskField is a control that lets users select one or more options from a list of options. For more information, refer to UXML element MaskField.
Read time 10 minutesLast updated 2 days ago

Definition

[UxmlElement(libraryPath = "Controls")][Icon("UIToolkit/Icons/MaskField.png")]public class MaskField : BaseMaskField<int>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<int>

Static Fields

Value

Description

inputUssClassNameUSS class name of input elements in elements of this type.
labelUssClassNameUSS class name of labels in elements of this type.
ussClassNameUSS class name of elements of this type.

Constructors

Properties

Property

Description

formatListItemCallbackCallback that provides a string representation used to populate the popup menu.
formatSelectedValueCallbackCallback that provides a string representation used to display the selected value.

Inheritance

Inherited Members