BatchHumanGenerator
batch_generator/generator.pyGenerator/factory (?) for making completed HG_Humans in the background.
Also used by the batch panel in the Human Generator GUI
| Attributes | ||
|---|---|---|
| female_chance | float | — |
| male_chance | float | — |
| human_preset_category_chances | Optional[dict[str, float]] | — |
| clothing_categories | Optional[list[str]] | — |
| expression_type | Literal['natural', 'most_varied'] | — |
| hair_type | Literal['particle', 'haircards'] | — |
| hair_quality | Literal['high', 'medium', 'low', 'ultralow', 'haircap_only'] | — |
| average_height_male | int | — |
| average_height_female | int | — |
| height_one_standard_deviation | float | — |
| texture_resolution | Literal['high', 'medium', 'low'] | — |
| add_clothing | bool | — |
| add_hair | bool | — |
| add_expression | bool | — |
| Methods | ||
| generate_human() | Human | — |
Attributes
BatchHumanGenerator.female_chance: float
sourceNo description yet.
BatchHumanGenerator.male_chance: float
sourceNo description yet.
BatchHumanGenerator.human_preset_category_chances: Optional[dict[str, float]]
sourceNo description yet.
BatchHumanGenerator.clothing_categories: Optional[list[str]]
sourceNo description yet.
BatchHumanGenerator.expression_type: Literal['natural', 'most_varied']
sourceNo description yet.
No description yet.
BatchHumanGenerator.hair_quality: Literal['high', 'medium', 'low', 'ultralow', 'haircap_only']
sourceNo description yet.
BatchHumanGenerator.average_height_male: int
sourceNo description yet.
BatchHumanGenerator.average_height_female: int
sourceNo description yet.
BatchHumanGenerator.height_one_standard_deviation: float
sourceNo description yet.
BatchHumanGenerator.texture_resolution: Literal['high', 'medium', 'low']
sourceNo description yet.
BatchHumanGenerator.add_clothing: bool
sourceNo description yet.
No description yet.
BatchHumanGenerator.add_expression: bool
sourceNo description yet.
Methods
BatchHumanGenerator.generate_human(context: C = None, pose_type: str = 'a_pose') → Human
sourceNo description yet.
| Parameter | Type | Description |
|---|---|---|
| context | C default None | — |
| pose_type | str default 'a_pose' | — |
Returns Human