VisualElementReferenceField
Makes a field to receive any VisualElementReference type.
Read time 8 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor
- Inherits from: BaseField<VisualElementReference>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, INotifyValueChanged<VisualElementReference>, IMixedValueSupport
public class VisualElementReferenceField : BaseField<VisualElementReference>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, INotifyValueChanged<VisualElementReference>, 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. |
| objectUssClassName | USS class name of object elements in elements of this type. |
| selectorUssClassName | USS class name of selector elements in elements of this type. |
| ussClassName | USS class name of elements of this type. |
Constructors
Constructor | Description |
|---|---|
| VisualElementReferenceField(System.String) | Initializes a new instance of the VisualElementReferenceField class with the specified label. |
Properties
Property | Description |
|---|---|
| elementType | The type that can be assigned, must be a VisualElement or derive from it. |