Class FloatField
Inheritance
FloatField
  Implements
Inherited Members
Namespace: UnityEditor.Experimental.UIElements
Assembly: UnityEditor.dll
Syntax
public class FloatField : TextValueField<float>, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<float>, ITextInputField, IEventHandler, ITextElement, IValueField<float>Constructors
| Improve this Doc View SourceFloatField()
Declaration
public FloatField()FloatField(Int32)
Declaration
public FloatField(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.Single>.allowedCharacters
  Methods
| Improve this Doc View SourceApplyInputDeviceDelta(Vector3, DeltaSpeed, Single)
Declaration
public override void ApplyInputDeviceDelta(Vector3 delta, DeltaSpeed speed, float startValue)Parameters
| Type | Name | Description | 
|---|---|---|
| Vector3 | delta | |
| DeltaSpeed | speed | |
| Single | startValue | 
Overrides
UnityEditor.Experimental.UIElements.TextValueField<System.Single>.ApplyInputDeviceDelta(UnityEngine.Vector3, UnityEditor.Experimental.UIElements.DeltaSpeed, System.Single)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  StringToValue(String)
Declaration
protected override float StringToValue(string str)Parameters
| Type | Name | Description | 
|---|---|---|
| String | str | 
Returns
| Type | Description | 
|---|---|
| Single | 
Overrides
UnityEditor.Experimental.UIElements.TextValueField<System.Single>.StringToValue(System.String)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ValueToString(Single)
Declaration
protected override string ValueToString(float v)Parameters
| Type | Name | Description | 
|---|---|---|
| Single | v | 
Returns
| Type | Description | 
|---|---|
| String | 
Overrides
UnityEditor.Experimental.UIElements.TextValueField<System.Single>.ValueToString(System.Single)