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