Class TouchSlider<TValueType>
Base class for TouchSlider UI elements (TouchSliderFloat, TouchSliderInt).
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public abstract class TouchSlider<TValueType> : BaseSlider<TValueType, TValueType>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<TValueType>, INotifyValueChanging<TValueType>, INotifyValueChanged<TValueType> where TValueType : struct, IComparable, IEquatable<TValueType>
  Type Parameters
| Name | Description | 
|---|---|
| TValueType | A comparable value type.  | 
      
Constructors
| Name | Description | 
|---|---|
| TouchSlider() | Default constructor.  | 
      
Fields
| Name | Description | 
|---|---|
| labelUssClassName | The TouchSlider label styling class.  | 
      
| progressUssClassName | The TouchSlider progress styling class.  | 
      
| sizeUssClassName | The TouchSlider size styling class.  | 
      
| ussClassName | The TouchSlider main styling class.  | 
      
| valueUssClassName | The TouchSlider value label styling class.  | 
      
Properties
| Name | Description | 
|---|---|
| label | Specify a unit for the value encapsulated in this slider. This unit will be displayed next to value into the slider.  | 
      
| size | Specify the size of the slider.  | 
      
Methods
| Name | Description | 
|---|---|
| Clamp(TValueType, TValueType, TValueType) | Utility method to clamp a TValueType value between specified bounds.  | 
      
| OnTrackClicked() | Callback when the interactive part of the slider is clicked.  | 
      
| SetValueWithoutNotify(TValueType) | Set the value of the slider without notifying the value change.  |