Class TouchSliderInt
TouchSlider UI element for integer values.
Inheritance
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class TouchSliderInt : TouchSlider<int>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<int>, INotifyValueChanging<int>, INotifyValueChanged<int>
Constructors
Name | Description |
---|---|
TouchSliderInt() | Default constructor. |
Properties
Name | Description |
---|---|
incrementFactor | The increment factor for the slider. |
Methods
Name | Description |
---|---|
Decrement(int) | Method to implement which returns the decrement of a given value. |
Increment(int) | Method to implement which returns the increment of a given value. |
ParseStringToValue(string, out int) | |
ParseValueToString(int) | 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) | |
SliderNormalizeValue(int, int, int) |