Class RangeSliderInt
Range Slider UI element for integer values.
Inheritance
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class RangeSliderInt : RangeSliderBase<Vector2Int, int>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<Vector2Int>, INotifyValueChanging<Vector2Int>, INotifyValueChanged<Vector2Int>
Constructors
Name | Description |
---|---|
RangeSliderInt() | 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(int) | Method to implement which returns the decrement of a given value. |
GetClampedValue(int, int, int) | |
GetMaxValue(Vector2Int) | |
GetMinValue(Vector2Int) | |
Increment(int) | Method to implement which returns the increment of a given value. |
LerpUnclamped(int, int, float) | |
MakeRangeValue(int, int) | |
ParseStringToValue(string, out Vector2Int) | Method to implement to resolve a string value into a TValueType value. You can use TryParse(string, out float) for floating point value types for example. |
ParseValueToString(Vector2Int) | 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(int, int, 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(int, int, int) | 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. |