Class BaseSlider<T>
Implements
Inherited Members
Namespace: UnityEngine.Experimental.UIElements
Assembly: UnityEngine.dll
Syntax
public abstract class BaseSlider<T> : BaseField<T>, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<T> where T : IComparable<T>Type Parameters
| Name | Description | 
|---|---|
| T | 
Constructors
| Improve this Doc View SourceBaseSlider(T, T, SliderDirection, Single)
Declaration
public BaseSlider(T start, T end, SliderDirection direction, float pageSize = 0F)Parameters
| Type | Name | Description | 
|---|---|---|
| T | start | |
| T | end | |
| SliderDirection | direction | |
| Single | pageSize | 
Properties
| Improve this Doc View Sourcedirection
Declaration
public SliderDirection direction { get; set; }Property Value
| Type | Description | 
|---|---|
| SliderDirection | 
highValue
Declaration
public T highValue { get; set; }Property Value
| Type | Description | 
|---|---|
| T | 
lowValue
Declaration
public T lowValue { get; set; }Property Value
| Type | Description | 
|---|---|
| T | 
pageSize
Declaration
public virtual float pageSize { get; set; }Property Value
| Type | Description | 
|---|---|
| Single | 
range
Declaration
public T range { get; }Property Value
| Type | Description | 
|---|---|
| T | 
value
Declaration
public override T value { get; set; }Property Value
| Type | Description | 
|---|---|
| T | 
Overrides
UnityEngine.Experimental.UIElements.BaseField<T>.value
  Methods
| Improve this Doc View SourceAdjustDragElement(Single)
Declaration
public void AdjustDragElement(float factor)Parameters
| Type | Name | Description | 
|---|---|---|
| Single | factor | 
ExecuteDefaultAction(EventBase)
Declaration
protected override void ExecuteDefaultAction(EventBase evt)Parameters
| Type | Name | Description | 
|---|---|---|
| EventBase | evt | 
Overrides
| Improve this Doc View SourceOnPersistentDataReady()
Declaration
public override void OnPersistentDataReady()Overrides
UnityEngine.Experimental.UIElements.BaseField<T>.OnPersistentDataReady()