Class UIntField
Makes a text field for entering an unsigned integer.
Inheritance
UIntField
Inherited Members
TextValueField<uint>.StartDragging()
TextValueField<uint>.StopDragging()
TextValueField<uint>.AddLabelDragger<TDraggerType>()
TextValueField<uint>.SetValueWithoutNotify(uint)
TextValueField<uint>.formatString
TextValueField<uint>.value
TextInputBaseField<uint>.singleLineInputUssClassName
TextInputBaseField<uint>.multilineInputUssClassName
TextInputBaseField<uint>.textInputUssName
TextInputBaseField<uint>.SelectAll()
TextInputBaseField<uint>.ExecuteDefaultActionAtTarget(EventBase)
TextInputBaseField<uint>.UpdateMixedValueContent()
TextInputBaseField<uint>.textInputBase
TextInputBaseField<uint>.text
TextInputBaseField<uint>.isReadOnly
TextInputBaseField<uint>.isPasswordField
TextInputBaseField<uint>.selectionColor
TextInputBaseField<uint>.cursorColor
TextInputBaseField<uint>.cursorIndex
TextInputBaseField<uint>.selectIndex
TextInputBaseField<uint>.maxLength
TextInputBaseField<uint>.doubleClickSelectsWord
TextInputBaseField<uint>.tripleClickSelectsLine
TextInputBaseField<uint>.isDelayed
TextInputBaseField<uint>.maskChar
TextInputBaseField<uint>.onIsReadOnlyChanged
BaseField<uint>.noLabelVariantUssClassName
BaseField<uint>.labelDraggerVariantUssClassName
BaseField<uint>.mixedValueLabelUssClassName
BaseField<uint>.alignedFieldUssClassName
BaseField<uint>.mixedValueString
BaseField<uint>.serializedPropertyCopyName
BaseField<uint>.rawValue
BaseField<uint>.labelElement
BaseField<uint>.label
BaseField<uint>.showMixedValue
BaseField<uint>.mixedValueLabel
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: UnityEngine.Perception.UIElements
Assembly: Unity.Perception.Editor.dll
Syntax
public class UIntField : TextValueField<uint>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IBindable, INotifyValueChanged<uint>, IMixedValueSupport, IValueField<uint>
Constructors
UIntField()
Constructor.
Declaration
public UIntField()
UIntField(int)
Constructor.
Declaration
public UIntField(int maxLength)
Parameters
Type | Name | Description |
---|---|---|
int | maxLength | Maximum number of characters the field can take. |
UIntField(string, int)
Declaration
public UIntField(string label, int maxLength = -1)
Parameters
Type | Name | Description |
---|---|---|
string | label | |
int | maxLength |
Fields
inputUssClassName
USS class name of input elements in elements of this type.
Declaration
public static readonly string inputUssClassName
Field Value
Type | Description |
---|---|
string |
labelUssClassName
USS class name of labels in elements of this type.
Declaration
public static readonly string labelUssClassName
Field Value
Type | Description |
---|---|
string |
ussClassName
USS class name of elements of this type.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
Methods
ApplyInputDeviceDelta(Vector3, DeltaSpeed, uint)
Modify the value using a 3D delta and a speed, typically coming from an input device.
Declaration
public override void ApplyInputDeviceDelta(Vector3 delta, DeltaSpeed speed, uint startValue)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | delta | A vector used to compute the value change. |
DeltaSpeed | speed | A multiplier for the value change. |
uint | startValue | The start value. |
Overrides
ClampInput(long)
Declaration
public static uint ClampInput(long input)
Parameters
Type | Name | Description |
---|---|---|
long | input |
Returns
Type | Description |
---|---|
uint |
StringToValue(string)
Converts a string to an uint.
Declaration
protected override uint StringToValue(string str)
Parameters
Type | Name | Description |
---|---|---|
string | str | The string to convert. |
Returns
Type | Description |
---|---|
uint | The uint parsed from the string. |
Overrides
ValueToString(uint)
Converts the given uint to a string.
Declaration
protected override string ValueToString(uint v)
Parameters
Type | Name | Description |
---|---|---|
uint | v | The uint to be converted to string. |
Returns
Type | Description |
---|---|
string | The uint as string. |
Overrides
Implements
UnityEngine.UIElements.INotifyValueChanged<T>
UnityEditor.UIElements.IValueField<T>