Class TouchSliderFloat
TouchSlider UI element for floating point values.
Inheritance
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class TouchSliderFloat : TouchSlider<float>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<float>, INotifyValueChanging<float>, INotifyValueChanged<float>Constructors
| Name | Description | 
|---|---|
| TouchSliderFloat() | Default constructor. | 
Properties
| Name | Description | 
|---|---|
| incrementFactor | The increment factor for the slider. | 
Methods
| Name | Description | 
|---|---|
| Decrement(float) | Method to implement which returns the decrement of a given value. | 
| Increment(float) | Method to implement which returns the increment of a given value. | 
| ParseStringToValue(string, out float) | |
| ParseValueToString(float) | Method to implement to resolve a TValueType value into a string value. You can use ToString() for floating point value types for example. You can also round the value if you want a specific number of decimals. | 
| SliderLerpUnclamped(float, float, float) | |
| SliderNormalizeValue(float, float, float) |