KeyItem
human/keys/keys.pyBaseclass for ShapeKey and LiveKey.
| Attributes | ||
|---|---|---|
| name | — | |
| category | — | |
| subcategory | — | |
| value | float | — |
| Methods | ||
| as_bpy() | Union[bpy.types.ShapeKey, 'BpyLiveKey'] | — |
| draw_prop() | bpy.types.UILayout | Draw a slider of this key item in the given layout. |
Attributes
No description yet.
No description yet.
KeyItem.subcategory
sourceNo description yet.
No description yet.
Methods
No description yet.
Returns Union[bpy.types.ShapeKey, 'BpyLiveKey']
KeyItem.draw_prop(layout: bpy.types.UILayout, value_propname: Literal['value', 'value_limited', 'value_positive_limited'] = 'value') → bpy.types.UILayout
sourceDraw a slider of this key item in the given layout.
| Parameter | Type | Description |
|---|---|---|
| layout | bpy.types.UILayout | layout to draw in |
| value_propname | Literal['value', 'value_limited', 'value_positive_limited'] default 'value' | name of the property to draw. Defaults to "value". Only used for livekeys. |
Returns bpy.types.UILayout — bpy.types.UILayout: layout with the slider drawn in it, as row.