Class IntegerField
Inheritance
IntegerField
Implements
Inherited Members
Namespace: UnityEditor.Experimental.UIElements
Assembly: UnityEditor.dll
Syntax
public class IntegerField : TextValueField<int>, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<int>, ITextInputField, IEventHandler, ITextElement, IValueField<int>
Constructors
| Improve this Doc View SourceIntegerField()
Declaration
public IntegerField()
IntegerField(Int32)
Declaration
public IntegerField(int maxLength)
Parameters
Type | Name | Description |
---|---|---|
Int32 | maxLength |
Properties
| Improve this Doc View SourceallowedCharacters
Declaration
protected override string allowedCharacters { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEditor.Experimental.UIElements.TextValueField<System.Int32>.allowedCharacters
Methods
| Improve this Doc View SourceApplyInputDeviceDelta(Vector3, DeltaSpeed, Int32)
Declaration
public override void ApplyInputDeviceDelta(Vector3 delta, DeltaSpeed speed, int startValue)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | delta | |
DeltaSpeed | speed | |
Int32 | startValue |
Overrides
UnityEditor.Experimental.UIElements.TextValueField<System.Int32>.ApplyInputDeviceDelta(UnityEngine.Vector3, UnityEditor.Experimental.UIElements.DeltaSpeed, System.Int32)
|
Improve this Doc
View Source
StringToValue(String)
Declaration
protected override int StringToValue(string str)
Parameters
Type | Name | Description |
---|---|---|
String | str |
Returns
Type | Description |
---|---|
Int32 |
Overrides
UnityEditor.Experimental.UIElements.TextValueField<System.Int32>.StringToValue(System.String)
|
Improve this Doc
View Source
ValueToString(Int32)
Declaration
protected override string ValueToString(int v)
Parameters
Type | Name | Description |
---|---|---|
Int32 | v |
Returns
Type | Description |
---|---|
String |
Overrides
UnityEditor.Experimental.UIElements.TextValueField<System.Int32>.ValueToString(System.Int32)