settings (construct)
The construct schema, its levels and its stores.
In the namespace construct.
Detailed description
The scene, the camera and the render job are the levels of the cascade, and the app level is a seed for new scenes. See config-ui §CFGC-2 and construct-settings-scopes.
Function documentation
constructSchema
const config::Schema &settings::constructSchema()
The construct schema: every cascading setting of Construct as data.
This was `SettingsRegistry`, a singleton with its own row type. The rows are unchanged. They now build a `config::Schema`, so the cascade, the validation, the snapshots and the import and export of libconfig serve Construct the same way they serve every other app (config-ui §CFGM-2, §CFGP-2). The construct-only facts stay here: the legacy unit ramp, the legacy scene key and the grouping of the old Rendering window.
Classes
| Class | What it is |
|---|---|
| AppSeedStore | App template, over `Settings` custom settings (§SS-6.4) |
| CameraOverrideStore | One camera item's look/quality overrides (§SS-3.2) |
| ConstructSettingsHost | Construct schema in the settings page (config-ui §CFGC-2) |
| DocumentSettingsHistory | History of a document level: the document's own undo stack |
| IRenderSettingSink | Everything a resolved setting can do to the render side, as an interface |
| LegacyUnitRamp | Slider-unit ramp of one setting: a divisor and the largest magnitude the legacy control could produce in engine units |
| OpenSettings | What the settings page shows: its document, its resolver, its seed store and the viewport's camera |
| RenderJobSettingsStore | Render-job level, kept in the scene file (construct-render-settings §CRSA-1) |
| SceneSettingsStore | Scene level, over `Construct::sceneSettings` (§SS-6.4) |
| ViewportModeOverlay | Viewport mode's values over the scene's settings, at the one place where the viewport reads a setting (viewport-shading-modes §VSMA-4) |