Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / presetSettings

Function: presetSettings() ​

ts
function presetSettings(name): Pick<GraphicsSettings, "shadows" | "postFx" | "resolutionScale">;

Defined in: quality/presets.ts:48

The settings fields a preset sets, for a settings screen that shows them.

Parameters ​

ParameterType
nameQualityPresetName

Returns ​

Pick<GraphicsSettings, "shadows" | "postFx" | "resolutionScale">