-
Notifications
You must be signed in to change notification settings - Fork 4
MCM_Float
github-actions[bot] edited this page Jul 19, 2026
·
1 revision
Inherits: MCM_Number < MCM_Value < MCM_Type
Allows the player to input a float value in MCM
| Return Value | Name and Parameters |
|---|---|
| MCM_Float | MCM_Float(id: String, name: String, tooltip: String, default: float) |
| Return Value | Name and Parameters |
|---|---|
| MCM_Float | setMinRange(minRange: float) |
| MCM_Float | setMaxRange(maxRange: float) |
| MCM_Float | setStep(step: float) |
| Dictionary | createConfigObject() const |
Constructs an MCM_Float. And then sends section, id, name, tooltip, and default parameters to the inherited MCM_Number constructor.
Set the minimum value this value can be set to
Set the maximum value this value can be set to
Set how much the UI SpinBox/Slider increments/decrements the value