QualitySettings
human/process/settings.pyInherits from Settings
Detail of the meshes of one LOD level, see quality.py for the tiers.
| Attributes | ||
|---|---|---|
| body | int | — |
| clothing | str | — |
| eyes | str | — |
| teeth | int | — |
| haircards | str | — |
| bones_per_vertex | int | — |
| Methods | ||
| from_tier() | QualitySettings | The settings of a quality tier, see `quality.QUALITY_TIERS`. |
| to_dict() | Dict[str, Any] | The settings as plain dict, nested settings included.from Settings |
| from_dict() | T | Settings from a dict, missing fields get their default.from Settings |
| copy() | T | A deep copy.from Settings |
Attributes
No description yet.
No description yet.
No description yet.
No description yet.
No description yet.
QualitySettings.bones_per_vertex: int
sourceNo description yet.
Methods
QualitySettings.from_tier(tier: str) → QualitySettingsclass method
sourceThe settings of a quality tier, see quality.QUALITY_TIERS.
| Parameter | Type | Description |
|---|---|---|
| tier | str | "original", "ultra", "high", "medium", "low" or "mobile". |
Returns QualitySettings
Raises ValueError — If the tier does not exist.
The settings as plain dict, nested settings included.
Returns Dict[str, Any]
Settings from a dict, missing fields get their default.
Unknown keys are logged and ignored, so recipes of a newer version still load as far as possible.
| Parameter | Type | Description |
|---|---|---|
| data | Dict[str, Any] | — |
Returns T
A deep copy.
Returns T