Class - Slider.Setting

Updated 5 hours ago

Declaration

public class Setting

Description

Stores the state of one of the settings bound to the slider.

Properties

float Min: The minimum value of the setting. Read-only.
float Max: The maximum value of the setting. Read-only.
int DecimalPlaces: The precision of the setting in decimal places. Read-only.
float Value: The current value of the setting. Setting this invokes ValueChanged.
bool Active: True if the slider is currently bound to this setting, false otherwise. Setting this invokes ActiveChanged.
EventHandler<Slider.ValueChangedEventArgs> ValueChanged: Event invoked when Value changes, usually due to the player interacting with the slider.
EventHandler<Slider.ActiveChangedEventArgs> ActiveChanged: Event invoked when Active changes, usually due to the player changing which setting the slider is bound to.

Methods

-