Class SliderFloat
Slider UI element for floating point values.
Inheritance
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class SliderFloat : SliderBase<float>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<float>, INotifyValueChanging<float>, INotifyValueChanged<float>
Constructors
Name | Description |
---|---|
SliderFloat() | Default constructor. |
Properties
Name | Description |
---|---|
incrementFactor | The increment factor used when the slider is interacted with using the keyboard. |
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) |