RectField
A Rect field. For more information, refer to UXML element RectField.
Read time 9 minutesLast updated 3 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: BaseCompositeField<Rect, FloatField, float>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<Rect>
[UxmlElement(libraryPath = "Numeric Fields")][Icon("UIToolkit/Icons/RectField.png")]public class RectField : BaseCompositeField<Rect, FloatField, float>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<Rect>
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 |
|---|---|
| RectField() | Initializes and returns an instance of RectField. |
| RectField(System.String) | Initializes and returns an instance of RectField. |