Class RangeSliderFloat
Range Slider UI element for floating point values.
Inheritance
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class RangeSliderFloat : RangeSliderBase<Vector2, float>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<Vector2>, INotifyValueChanging<Vector2>, INotifyValueChanged<Vector2>
Constructors
Name | Description |
---|---|
RangeSliderFloat() | Default constructor. |
Properties
Name | Description |
---|---|
incrementFactor | The increment factor used when the slider is interacted with using the keyboard. |
maxValue | |
minValue |
Methods
Name | Description |
---|---|
Decrement(float) | Method to implement which returns the decrement of a given value. |
GetClampedValue(float, float, float) | |
GetMaxValue(Vector2) | |
GetMinValue(Vector2) | |
Increment(float) | Method to implement which returns the increment of a given value. |
LerpUnclamped(float, float, float) | |
MakeRangeValue(float, float) | |
ParseStringToValue(string, out Vector2) | |
ParseValueToString(Vector2) | 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) | Method to implement which returns a value based on the linear interpolation of a given interpolant between a specific range. Usually you can use directly LerpUnclamped(float, float, float) for floating point value types. |
SliderNormalizeValue(float, float, float) | Method to implement which returns the normalized value of a given value in a specific range. Usually you can use directly an InverseLerp(float, float, float) for floating point value types. |