BatchHumanGenerator

batch_generator/generator.py

Generator/factory (?) for making completed HG_Humans in the background.

Also used by the batch panel in the Human Generator GUI

Attributes
female_chancefloat—
male_chancefloat—
human_preset_category_chancesOptional[dict[str, float]]—
clothing_categoriesOptional[list[str]]—
expression_typeLiteral['natural', 'most_varied']—
hair_typeLiteral['particle', 'haircards']—
hair_qualityLiteral['high', 'medium', 'low', 'ultralow', 'haircap_only']—
average_height_maleint—
average_height_femaleint—
height_one_standard_deviationfloat—
texture_resolutionLiteral['high', 'medium', 'low']—
add_clothingbool—
add_hairbool—
add_expressionbool—
Methods
generate_human()Human—

Attributes

BatchHumanGenerator.female_chance: float

source

No description yet.

BatchHumanGenerator.male_chance: float

source

No description yet.

BatchHumanGenerator.human_preset_category_chances: Optional[dict[str, float]]

source

No description yet.

BatchHumanGenerator.clothing_categories: Optional[list[str]]

source

No description yet.

BatchHumanGenerator.expression_type: Literal['natural', 'most_varied']

source

No description yet.

BatchHumanGenerator.hair_type: Literal['particle', 'haircards']

source

No description yet.

BatchHumanGenerator.hair_quality: Literal['high', 'medium', 'low', 'ultralow', 'haircap_only']

source

No description yet.

BatchHumanGenerator.average_height_male: int

source

No description yet.

BatchHumanGenerator.average_height_female: int

source

No description yet.

BatchHumanGenerator.height_one_standard_deviation: float

source

No description yet.

BatchHumanGenerator.texture_resolution: Literal['high', 'medium', 'low']

source

No description yet.

BatchHumanGenerator.add_clothing: bool

source

No description yet.

BatchHumanGenerator.add_hair: bool

source

No description yet.

BatchHumanGenerator.add_expression: bool

source

No description yet.

Methods

BatchHumanGenerator.generate_human(context: C = None, pose_type: str = 'a_pose') → Human

source

No description yet.

ParameterTypeDescription
contextC
default None
—
pose_typestr
default 'a_pose'
—

Returns Human