Class RectField
Rect Field UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class RectField : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<Rect>, INotifyValueChanged<Rect>, ISizeableElement
Constructors
| Name | Description |
|---|---|
| RectField() | Default constructor. |
Fields
| Name | Description |
|---|---|
| hFieldUssClassName | The RectField H NumericalField styling class. |
| labelUssClassName | The RectField Label styling class. |
| rowUssClassName | The RectField row styling class. |
| sizeUssClassName | The RectField size styling class. |
| ussClassName | The RectField main styling class. |
| wFieldUssClassName | The RectField W NumericalField styling class. |
| xFieldUssClassName | The RectField X NumericalField styling class. |
| yFieldUssClassName | The RectField Y NumericalField styling class. |
Properties
| Name | Description |
|---|---|
| contentContainer | The content container of the RectField. |
| invalid | The invalid state of the RectField. |
| size | The size of the RectField. |
| validateValue | The validation function of the RectField. |
| value | The value of the RectField. |
Methods
| Name | Description |
|---|---|
| SetValueWithoutNotify(Rect) | Set the value of the RectField without notifying the change. |