TextureBakeSettings
human/process/settings.pyInherits from Settings
Baking of the materials to textures, see textures.py.
| Attributes | ||
|---|---|---|
| enabled | bool | — |
| resolution | Dict[str, int] | — |
| passes | Dict[str, List[str]] | — |
| file_format | str | — |
| workflow | str | — |
| normal_map | str | — |
| pack_hair_alpha | bool | — |
| samples | int | — |
| 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() | T | Settings from a dict, missing fields get their default.from Settings |
| copy() | T | A deep copy.from Settings |
Attributes
No description yet.
human.process.settings.textures.resolution: Dict[str, int]
sourceNo description yet.
No description yet.
human.process.settings.textures.file_format: str
sourceNo description yet.
No description yet.
human.process.settings.textures.normal_map: str
sourceNo description yet.
human.process.settings.textures.pack_hair_alpha: bool
sourceNo description yet.
No description yet.
Methods
human.process.settings.textures.set_resolution_tier(tier: str)
sourceSets the resolution of every texture set to a tier, "4k", "2k", "1k" or "512".
| Parameter | Type | Description |
|---|---|---|
| tier | str | — |
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