carb::settings::setFloatArray
Defined in carb/settings/SettingsUtils.h
-
inline void carb::settings::setFloatArray(ISettings *settings, const char *path, const std::vector<float> &array)
A helper function for setting a
std::vector<float>
as an array of floats.Equivalent to:
settings->setFloatArray(path, array.data(), array.size());
- Parameters
settings – The acquired ISettings interface.
path – The setting key path. See ISettings::setFloatArray for details.
array – A vector containing the float values for the setting value.