human.clothing
ClothingSettings
human/clothing/clothing.pyInterface class for accessing OutfitSettings and FootwearSettings.
| Attributes | ||
|---|---|---|
| outfit | OutfitSettings | Use this property to access OutfitSettings. |
| footwear | FootwearSettings | Use 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
sourceUse this property to access OutfitSettings.
OutfitSettings allows you to change the outfits (excluding footwear) of the human.
human.clothing.footwear: FootwearSettingsread-only
sourceUse this property to access FootwearSettings.
FootwearSettings allows you to change the footwear of the human.
Serialization: as_dict, set_from_dict
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]
sourceSet clothing settings from dict.
| Parameter | Type | Description |
|---|---|---|
| data | dict[str, Any] | Dict of clothing settings. |
Returns list[str] — list[str]: List of errors occurred during setting.