Class RectIntField
RectInt Field UI element.
Implements
INotifyValueChanged<RectInt>
Inherited Members
VisualElement.ExecuteDefaultAction(EventBase)
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class RectIntField : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement, IInputElement<RectInt>, IValidatableElement<RectInt>, ISizeableElement, INotifyValueChanging<RectInt>, INotifyValueChanged<RectInt>
Constructors
RectIntField()
Default constructor.
Declaration
public RectIntField()
Fields
hFieldUssClassName
The RectIntField H NumericalField styling class.
Declaration
public static readonly string hFieldUssClassName
Field Value
Type | Description |
---|---|
string |
labelUssClassName
The RectIntField Label styling class.
Declaration
public static readonly string labelUssClassName
Field Value
Type | Description |
---|---|
string |
rowUssClassName
The RectIntField row styling class.
Declaration
public static readonly string rowUssClassName
Field Value
Type | Description |
---|---|
string |
sizeUssClassName
The RectIntField size styling class.
Declaration
public static readonly string sizeUssClassName
Field Value
Type | Description |
---|---|
string |
ussClassName
The RectIntField main styling class.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
wFieldUssClassName
The RectIntField W NumericalField styling class.
Declaration
public static readonly string wFieldUssClassName
Field Value
Type | Description |
---|---|
string |
xFieldUssClassName
The RectIntField X NumericalField styling class.
Declaration
public static readonly string xFieldUssClassName
Field Value
Type | Description |
---|---|
string |
yFieldUssClassName
The RectIntField Y NumericalField styling class.
Declaration
public static readonly string yFieldUssClassName
Field Value
Type | Description |
---|---|
string |
Properties
contentContainer
The content container of the RectIntField.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
invalid
The invalid state of the RectIntField.
Declaration
public bool invalid { get; set; }
Property Value
Type | Description |
---|---|
bool |
size
The size of the RectIntField.
Declaration
public Size size { get; set; }
Property Value
Type | Description |
---|---|
Size |
validateValue
The callback to validate the value of the RectIntField.
Declaration
public Func<RectInt, bool> validateValue { get; set; }
Property Value
Type | Description |
---|---|
Func<RectInt, bool> |
value
The value of the RectIntField.
Declaration
public RectInt value { get; set; }
Property Value
Type | Description |
---|---|
RectInt |
Methods
SetValueWithoutNotify(RectInt)
Set the value of the RectIntField without notifying the change.
Declaration
public void SetValueWithoutNotify(RectInt newValue)
Parameters
Type | Name | Description |
---|---|---|
RectInt | newValue | The new value of the RectIntField. |
Implements
UnityEngine.UIElements.INotifyValueChanged<T>