cmt.blender.v2_80¶
cmt.blender.v2_80.object_panel¶
-
class
cmt.blender.v2_80.object_panel.
BlockProps
(*args, **kwargs)¶ Bases:
bpy.types.PropertyGroup
-
class
cmt.blender.v2_80.object_panel.
Dummy
(*args, **kwargs)¶ Bases:
bpy.types.PropertyGroup
-
class
cmt.blender.v2_80.object_panel.
ObjectPanel
(*args, **kwargs)¶ Bases:
bpy.types.Panel
Creates a Panel in the scene context of the properties editor
-
bl_context
= 'object'¶
-
bl_idname
= 'OBJECT_PT_cmt'¶
-
bl_label
= 'Celaria Object'¶
-
bl_region_type
= 'WINDOW'¶
-
bl_space_type
= 'PROPERTIES'¶
-
draw
(context)¶
-
draw_header
(context)¶
-
classmethod
poll
(context)¶
-
-
cmt.blender.v2_80.object_panel.
register
(version=1)¶
-
cmt.blender.v2_80.object_panel.
unregister
()¶
cmt.blender.v2_80.scene_panel¶
-
class
cmt.blender.v2_80.scene_panel.
MetadataProps
(*args, **kwargs)¶ Bases:
bpy.types.PropertyGroup
-
class
cmt.blender.v2_80.scene_panel.
ScenePanel
(*args, **kwargs)¶ Bases:
bpy.types.Panel
Creates a Panel in the scene context of the properties editor
-
bl_context
= 'scene'¶
-
bl_idname
= 'SCENE_PT_layout'¶
-
bl_label
= 'Celaria Metadata'¶
-
bl_region_type
= 'WINDOW'¶
-
bl_space_type
= 'PROPERTIES'¶
-
draw
(context)¶
-
draw_header
(context)¶
-
-
cmt.blender.v2_80.scene_panel.
register
()¶
-
cmt.blender.v2_80.scene_panel.
unregister
()¶
cmt.blender.v2_80.utils¶
-
cmt.blender.v2_80.utils.
add_exclusive_to_collection
(obj, coll_name)¶
-
cmt.blender.v2_80.utils.
create_material
(name, color)¶ Creates a material with a specific color, if the material name does not already exist. :type name:
str
:param name: :type color:Tuple
[float
,float
,float
,float
] :param color: :rtype: bpy.types.Material :return: