human.clothing

Interface class for accessing OutfitSettings and FootwearSettings.

Attributes
outfitOutfitSettingsUse this property to access OutfitSettings.
footwearFootwearSettingsUse this property to access FootwearSettings.
Methods
as_dict() · set_from_dict()Save these settings to a dict and restore them from one.

Attributes

human.clothing.outfit: OutfitSettingsread-only

source

Use this property to access OutfitSettings.

OutfitSettings allows you to change the outfits (excluding footwear) of the human.

human.clothing.footwear: FootwearSettingsread-only

source

Use this property to access FootwearSettings.

FootwearSettings allows you to change the footwear of the human.

Serialization: as_dict, set_from_dict

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

source

Returns dict of clothing settings.

Returns dict[str, dict[str, Any]] — dict[str, dict[str, Any]]: Dict of clothing settings.

human.clothing.set_from_dict(data: dict[str, Any]) → list[str]

source

Set clothing settings from dict.

ParameterTypeDescription
datadict[str, Any]Dict of clothing settings.

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