human.age
AgeSettings
human/age.pyClass to edit age of the human.
| Attributes | ||
|---|---|---|
| age_color | NodeInput | — |
| age_wrinkles | NodeInput | — |
| keys | list[Union[ShapeKeyItem, LiveKeyItem]] | Get a list of all shapekeys and livekeys that affect the age of the human. |
| Methods | ||
| set() | Set the age of the human. | |
| as_dict() · set_from_dict() | Save these settings to a dict and restore them from one. | |
Attributes
No description yet.
human.age.age_wrinkles: NodeInput
sourceNo description yet.
human.age.keys: list[Union[ShapeKeyItem, LiveKeyItem]]read-only
sourceGet a list of all shapekeys and livekeys that affect the age of the human.
Methods
Set the age of the human.
| Parameter | Type | Description |
|---|---|---|
| age | int | Age to set. UI uses increments of 10. |
| realtime | bool default False | Use true if the value will be changed in realtime by a slider in the UI. |
Serialization: as_dict, set_from_dict
Get the age settings of the human as a dictionary.
Returns dict[str, Any] — Dictionary with the age settings of the human.
human.age.set_from_dict(data: dict[str, Any])
sourceSet the age of the human from a dictionary.
| Parameter | Type | Description |
|---|---|---|
| data | dict[str, Any] | Dictionary with the age of the human. |