Skip to content

MCM_Vector2

github-actions[bot] edited this page Jul 19, 2026 · 1 revision

Inherits: MCM_Vector2 <> MCM_Number < MCM_Value < MCM_Type

Description

Allows the player to input a Vector2 in MCM

Constructors

Return Value Name and Parameters
MCM_Vector2 MCM_Vector2(id: String, name: String, tooltip: String, default: Vector2

Methods

Return Value Name and Parameters
MCM_Vector2 setMinRange(minRange: Vector2)
MCM_Vector2 setMaxRange(maxRange: Vector2)
MCM_Vector2 setStep(step: Vector2)
Dictionary createConfigObject() const

Constructor Descriptions

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.

Method Descriptions

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.

Clone this wiki locally