SliderInt
A slider containing Integer discrete values. For more information, refer to UXML element SliderInt.
Read time 10 minutesLast updated an hour ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: BaseSlider<int>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<int>, IValueField<int>
[Icon("UIToolkit/Icons/SliderInt.png")][UxmlElement(libraryPath = "Controls")]public class SliderInt : BaseSlider<int>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<int>, IValueField<int>
Static Fields
Value | Description |
|---|---|
| inputUssClassName | USS class name of input elements in elements of this type. |
| labelUssClassName | USS class name of labels in elements of this type. |
| ussClassName | USS class name of elements of this type. |
Constructors
Constructor | Description |
|---|---|
| SliderInt() | Constructors for the SliderInt. |
| SliderInt(System.Int32,System.Int32,UnityEngine.UIElements.SliderDirection,System.Single) | Constructors for the SliderInt. |
| SliderInt(System.String,System.Int32,System.Int32,UnityEngine.UIElements.SliderDirection,System.Single) | Constructors for the SliderInt. |
Properties
Property | Description |
|---|---|
| pageSize | The value to add or remove to the SliderInt.value when it is clicked. |