CVarWrapper
Parameter | Type | Description |
---|---|---|
other | CVarWrapper | — |
CVarWrapper operator=(CVarWrapper rhs)
Parameter | Type | Description |
---|---|---|
rhs | CVarWrapper | — |
std::string getCVarName()
int getIntValue()
float getFloatValue()
bool getBoolValue()
LinearColor getColorValue()
std::string getStringValue()
std::string getDescription()
bool HasMinimum()
bool HasMaximum()
float GetMinimum()
float GetMaximum()
bool IsHidden()
bool ShouldSaveToCfg()
void ResetToDefault()
void notify()
void setValue(LinearColor value)
Parameter | Type | Description |
---|---|---|
value | LinearColor | — |
void addOnValueChanged(std::function< void(std::string, CVarWrapper)> changeFunc)
Parameter | Type | Description |
---|---|---|
changeFunc | CVarWrapper | — |
void removeOnValueChanged()
void bindTo(std::shared_ptr< LinearColor > var)
Parameter | Type | Description |
---|---|---|
var | LinearColor | — |