API ReferenceSettings.Global
ISliderGlobalSetting<T>
A global numeric setting dragged within a range. int and float only.
public interface ISliderGlobalSetting<T> : IGlobalValueSetting<T>, ISliderSettingBase where T : structA global numeric setting dragged within a range. Implemented for int and float only.
Type parameters: T — int or float.
Implements: IGlobalValueSetting<T> · ISliderSettingBase · IGlobalModSetting · IValueModSetting<T> · IValueModSettingBase · IModSetting
Properties
Increment
T Increment { get; }Gets the step between values. default(T) until SetAllowedValues is called.
Min
T Min { get; }Gets the lowest value.
Max
T Max { get; }Gets the highest value.
Methods
SetAllowedValues(T, T, T)
void SetAllowedValues(T increment, T min, T max);Sets Increment, Min and Max.