![]() |
ImFusion SDK 4.3
|
Setting is a type-safe way to access a setting value. A typical usage would require you to inherit from the Settings class, and pass the m_settings member to the Setting constructor for each of your Setting members. You can then use your Settings-derived class to access the settings in a similar manner to this class. Instead of this, it is recommended that you simply (de-)serialize your Configurable classes directly using GlobalSettings.
addCustomSettings() is a way to register custom settings so they can be controlled through the SettingsDialog. Use SettingsDialog::addCustomSettings() instead.