TextureBakeSettings

human/process/settings.py

Inherits from Settings

Baking of the materials to textures, see textures.py.

Attributes
enabledbool—
resolutionDict[str, int]—
passesDict[str, List[str]]—
file_formatstr—
workflowstr—
normal_mapstr—
pack_hair_alphabool—
samplesint—
Methods
set_resolution_tier()Sets the resolution of every texture set to a tier, "4k", "2k", "1k" or "512".
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

human.process.settings.textures.enabled: bool

source

No description yet.

human.process.settings.textures.resolution: Dict[str, int]

source

No description yet.

human.process.settings.textures.passes: Dict[str, List[str]]

source

No description yet.

human.process.settings.textures.file_format: str

source

No description yet.

human.process.settings.textures.workflow: str

source

No description yet.

human.process.settings.textures.normal_map: str

source

No description yet.

human.process.settings.textures.pack_hair_alpha: bool

source

No description yet.

human.process.settings.textures.samples: int

source

No description yet.

Methods

human.process.settings.textures.set_resolution_tier(tier: str)

source

Sets the resolution of every texture set to a tier, "4k", "2k", "1k" or "512".

ParameterTypeDescription
tierstr—

Raises ValueError — If the tier does not exist.

human.process.settings.textures.to_dict() → Dict[str, Any]from Settings

source

The settings as plain dict, nested settings included.

Returns Dict[str, Any]

TextureBakeSettings.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

human.process.settings.textures.copy() → Tfrom Settings

source

A deep copy.

Returns T