human.skin

SkinSettings

human/skin/skin.py

Class for manipulating skin material of human.

Attributes
cavity_strengthNodeInput—
toneNodeInput—
rednessNodeInput—
saturationNodeInput—
normal_strengthNodeInput—
roughness_multiplierNodeInput—
frecklesNodeInput—
splotchesNodeInput—
textureTextureSettingsGives acces to texture settings, for setting and changing textures.
nodesSkinNodesAll nodes of the human skin material.
linksSkinLinksAll links on the human skin material.
materialMaterialHuman skin material.
gender_specificUnion[MaleSkin, FemaleSkin]Returns an instance to change node settings specifically related to gender.
Methods
randomize()Randomize the skin material of the human.
set_subsurface_scattering()Set the subsurface scattering on or off.
set_underwear()Turn on/off the underwear/censoring on the human skin material.
as_dict() · set_from_dict()Save these settings to a dict and restore them from one.

Attributes

No description yet.

human.skin.tone: NodeInput

source

No description yet.

No description yet.

No description yet.

No description yet.

No description yet.

No description yet.

No description yet.

human.skin.texture: TextureSettingsread-only

source

Gives acces to texture settings, for setting and changing textures.

human.skin.nodes: SkinNodesread-only

source

All nodes of the human skin material.

human.skin.material: Materialread-only

source

Human skin material.

human.skin.gender_specific: Union[MaleSkin, FemaleSkin]read-only

source

Returns an instance to change node settings specifically related to gender.

Methods

human.skin.randomize()

source

Randomize the skin material of the human.

human.skin.set_subsurface_scattering(turn_on: bool, context: C = None)

source

Set the subsurface scattering on or off.

ParameterTypeDescription
turn_onboolTrue for turning on, False for turning off.
contextC
default None
Blender context. Defaults to None.

human.skin.set_underwear(turn_on: bool, context: C = None)

source

Turn on/off the underwear/censoring on the human skin material.

ParameterTypeDescription
turn_onboolTrue for showing underwear, False for hiding it
contextC
default None
Blender context. bpy.context if not provided.
Serialization: as_dict, set_from_dict

human.skin.as_dict() → dict[str, Any]

source

Returns a dictionary representation of the skin material.

Returns dict[str, Any] — dict[str, Any]: Dictionary representation of the skin material.

human.skin.set_from_dict(data: dict[str, Any], context: C = None) → list[str]

source

Set the skin material from a dictionary representation.

ParameterTypeDescription
datadict[str, Any]Dictionary representation of the skin material.
contextC
default None
Blender context. bpy.context if not provided.

Returns list[str] — list[str]: List of occurred errors.