UnsignedIntegerField
Makes a text field for entering an unsigned integer. For more information, refer to UXML element UnsignedIntegerField.
Read time 11 minutesLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: TextValueField<uint>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<uint>, IValueField<uint>
[UxmlElement(libraryPath = "Numeric Fields")][Icon("UIToolkit/Icons/UnsignedIntegerField.png")]public class UnsignedIntegerField : TextValueField<uint>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<uint>, IValueField<uint>
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 |
|---|---|
| UnsignedIntegerField() | Constructor. |
| UnsignedIntegerField(System.Int32) | Constructor. |
| UnsignedIntegerField(System.String,System.Int32) | Constructor. |
Methods
Method | Description |
|---|---|
| ApplyInputDeviceDelta | Applies the values of a 3D delta and a speed from an input device. |
| StringToValue | Converts a string to an unsigned integer. |
| ValueToString | Converts the given unsigned integer to a string. |