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’

Type:

ThemeBoneColorSet, (readonly, never None)

is_custom#

A color palette is user-defined, instead of using a theme-defined one

Type:

boolean, default False, (readonly)

palette#

Color palette to use

Type:

enum in [‘DEFAULT’, ‘THEME01’, ‘THEME02’, ‘THEME03’, ‘THEME04’, ‘THEME05’, ‘THEME06’, ‘THEME07’, ‘THEME08’, ‘THEME09’, ‘THEME10’, ‘THEME11’, ‘THEME12’, ‘THEME13’, ‘THEME14’, ‘THEME15’, ‘THEME16’, ‘THEME17’, ‘THEME18’, ‘THEME19’, ‘THEME20’, ‘CUSTOM’], default ‘DEFAULT’

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (str) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#

References#