DoubleField
Makes a text field for entering doubles.
Read time 8 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: TextValueField<double>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<double>, IMixedValueSupport, IValueField<double>
public class DoubleField : TextValueField<double>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<double>, IMixedValueSupport, IValueField<double>
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 |
|---|---|
| DoubleField() | Constructor. |
| DoubleField(System.Int32) | Constructor. |
| DoubleField(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 a double. |
| ValueToString | Converts the given double to a string. |