C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

Configurable::SetSetting

Defined in:  C4Configurable.h
Called to update a particular setting for a configurable object.
Prototype

virtual void SetSetting(const Setting *setting);

Parameters
setting A pointer to the setting whose value should be updated in the configurable object.
Description
The SetSetting function is called to update a particular setting for a configurable object. An override implementation of this function should examine the setting identifier, retrieved with the Setting::GetSettingIdentifier function, and update the object setting to which it corresponds to the value stored in the Setting object. This function is called once for each setting returned by the Configurable::GetSetting function when committing a configuration interface.
See Also

Configurable::GetSettingCount

Configurable::GetSetting

Setting