Inherits from Settings

Detail of the meshes of one LOD level, see quality.py for the tiers.

Attributes
bodyint—
clothingstr—
eyesstr—
teethint—
haircardsstr—
bones_per_vertexint—
Methods
from_tier()QualitySettingsThe 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()TSettings from a dict, missing fields get their default.from Settings
copy()TA deep copy.from Settings

Attributes

QualitySettings.body: int

source

No description yet.

QualitySettings.clothing: str

source

No description yet.

QualitySettings.eyes: str

source

No description yet.

QualitySettings.teeth: int

source

No description yet.

QualitySettings.haircards: str

source

No description yet.

QualitySettings.bones_per_vertex: int

source

No description yet.

Methods

QualitySettings.from_tier(tier: str) → QualitySettingsclass method

source

The settings of a quality tier, see quality.QUALITY_TIERS.

ParameterTypeDescription
tierstr"original", "ultra", "high", "medium", "low" or "mobile".

Returns QualitySettings

Raises ValueError — If the tier does not exist.

QualitySettings.to_dict() → Dict[str, Any]from Settings

source

The settings as plain dict, nested settings included.

Returns Dict[str, Any]

QualitySettings.from_dict(data: Dict[str, Any]) → Tclass methodfrom Settings

source

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.

ParameterTypeDescription
dataDict[str, Any]—

Returns T

QualitySettings.copy() → Tfrom Settings

source

A deep copy.

Returns T