BoneColor(bpy_struct)¶
base class — bpy_struct
- class bpy.types.BoneColor(bpy_struct)¶
Theme color or custom color of a bone
- custom¶
The custom bone colors, used when palette is ‘CUSTOM’ (readonly, never None)
- Type:
- is_custom¶
A color palette is user-defined, instead of using a theme-defined one (default False, readonly)
- Type:
bool
- palette¶
Color palette to use (default
'DEFAULT')- Type:
Literal[‘DEFAULT’, ‘THEME01’, ‘THEME02’, ‘THEME03’, ‘THEME04’, ‘THEME05’, ‘THEME06’, ‘THEME07’, ‘THEME08’, ‘THEME09’, ‘THEME10’, ‘THEME11’, ‘THEME12’, ‘THEME13’, ‘THEME14’, ‘THEME15’, ‘THEME16’, ‘THEME17’, ‘THEME18’, ‘THEME19’, ‘THEME20’, ‘CUSTOM’]
- classmethod bl_rna_get_subclass(id, default=None, /)¶
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)¶
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type