Class FloatField
Float Field UI element.
Inheritance
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class FloatField : NumericalField<float>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<float>, ISizeableElement, INotifyValueChanging<float>, INotifyValueChanged<float>
Constructors
Name | Description |
---|---|
FloatField() | Default constructor. |
Methods
Name | Description |
---|---|
AreEqual(float, float) | Check if two values of type TValueType are equal. |
GetIncrementFactor(float) | Calculate the increment factor based on a base value. |
Increment(float, float) | Increment a given value with a given delta. |
Max(float, float) | Return the biggest value between a and b. |
Min(float, float) | Return the smallest value between a and b. |
ParseStringToValue(string, out float) | Define the conversion from the string value to a TValueType value. |
ParseValueToString(float) | Define the conversion from a TValueType value to a string value. |