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