Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

useQualitySettings

useQualitySettings(): QualitySettings

The values the engine draws with now: each row’s level, Automatic resolved, the game’s overrides applied. With a selector, one value, and a re-render only when it changes, as zustand’s hooks take one.

QualitySettings

useQualitySettings<Value>(selector): Value

The values the engine draws with now: each row’s level, Automatic resolved, the game’s overrides applied. With a selector, one value, and a re-render only when it changes, as zustand’s hooks take one.

Type Parameter
Value
Parameter Type
selector (settings) => Value

Value