Class SliderWidgetBuilder
A recyclable widget builder for volume sliders.
Implements
Inherited Members
Namespace: SociallyDistant.Core.UI.Recycling
Assembly: SociallyDistant.Framework.dll
Syntax
public class SliderWidgetBuilder : IRecyclableWidgetBuilder
Properties
Callback
Gets or sets a callback to execute when the slider changes.
Declaration
public Action<float>? Callback { get; set; }
Property Value
Type | Description |
---|---|
Action<float> |
MaximumValue
Gets or sets the maximum possible value of the slider.
Declaration
public float MaximumValue { get; set; }
Property Value
Type | Description |
---|---|
float |
MinimumValue
Gets or sets the minimum value of the slider.
Declaration
public float MinimumValue { get; set; }
Property Value
Type | Description |
---|---|
float |
Value
Gets or sets the current value of the slider.
Declaration
public float Value { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
Build()
Create a RecyclableWidgetController based on this widget builder's properties.
Declaration
public RecyclableWidgetController Build()
Returns
Type | Description |
---|---|
RecyclableWidgetController | A new instance of RecyclableWidgetController. |