pohlke.utils.ui_shared#

Contains all ui functions for drawing interfaces

Functions#

draw_axonometric_options(→ None)

Draw the axonometric projection options UI

draw_oblique_options(→ None)

Draw the oblique projection options UI

draw_create_cam_content(→ None)

Draw the projection options onto a Blender container (Operator or PropertyGroup)

Module Contents#

pohlke.utils.ui_shared.draw_axonometric_options(layout: bpy.types.UILayout, props: bpy.types.PropertyGroup | bpy.types.Operator, operator: bool = False) None[source]#

Draw the axonometric projection options UI

Parameters#

layoutbpy.types.UILayout

The Blender UI layout container in which the elements are drawn

propsUnion[bpy.types.PropertyGroup, bpy.types.Operator]

The property group containing camera projection settings

operatorbool

If this function is used on Blender operator class (default : False)

pohlke.utils.ui_shared.draw_oblique_options(layout: bpy.types.UILayout, props: bpy.types.PropertyGroup | bpy.types.Operator, operator: bool = False) None[source]#

Draw the oblique projection options UI

Parameters#

layoutbpy.types.UILayout

The Blender UI layout container in which the elements are drawn

propsUnion[bpy.types.PropertyGroup, bpy.types.Operator]

The property group containing camera projection settings

operatorbool

If this function is used on Blender operator class (default : False)

pohlke.utils.ui_shared.draw_create_cam_content(layout: bpy.types.UILayout, props: bpy.types.PropertyGroup | bpy.types.Operator, containerType: str) None[source]#

Draw the projection options onto a Blender container (Operator or PropertyGroup)

Parameters#

layoutbpy.types.UILayout

The Blender UI layout container in which the elements are drawn

propsUnion[bpy.types.PropertyGroup, bpy.types.Operator]

The blender container containing camera projection settings

containerTypestr

Type of blender container (“operator” or “property”)