QualityOptions
What a game changes about graphics quality, on Game’s quality prop.
Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
dynamicResolution? |
boolean | { enabled?: boolean; maximumScale?: number; minimumScale?: number; targetFrameRate?: number; } |
on where the main pointer is a finger, off elsewhere, between 0.5 and 1 |
Dynamic resolution’s default and bounds: true or false sets whether the row starts on, and an object sets the bounds too. |
levels? |
Partial<Record<FixedQualityLevel, Partial<QualitySettings>>> |
undefined |
What each level draws, over the engine’s own, such as { [QualityLevel.Low]: { shadowMapSize: 512 } }. |
start? |
QualityStart |
engineStartLevels: Minimum on a software renderer, Low on a phone or tablet, Medium on a computer, High on a recent graphics card, Medium on that card on a larger screen |
The level each kind of device starts at under Automatic: a map from DeviceClass to level, or a function of the device’s reading. A player who picks a level keeps hers. |