fake-bpy-module 20240516__py3-none-any.whl → 20240517__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/freedesktop/__init__.pyi +2 -2
- addon_utils/__init__.pyi +43 -12
- animsys_refactor/__init__.pyi +4 -4
- aud/__init__.pyi +7 -7
- bgl/__init__.pyi +121 -183
- bl_app_override/__init__.pyi +5 -5
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +5 -5
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
- bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
- bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
- bl_i18n_utils/bl_extract_messages/__init__.pyi +5 -5
- bl_i18n_utils/settings/__init__.pyi +4 -2
- bl_i18n_utils/utils/__init__.pyi +86 -58
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +4 -4
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +126 -41
- bl_operators/anim/__init__.pyi +1001 -328
- bl_operators/assets/__init__.pyi +376 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
- bl_operators/clip/__init__.pyi +1250 -409
- bl_operators/console/__init__.pyi +626 -205
- bl_operators/constraint/__init__.pyi +502 -165
- bl_operators/file/__init__.pyi +376 -123
- bl_operators/freestyle/__init__.pyi +501 -164
- bl_operators/geometry_nodes/__init__.pyi +501 -164
- bl_operators/image/__init__.pyi +621 -200
- bl_operators/mesh/__init__.pyi +376 -123
- bl_operators/node/__init__.pyi +1243 -402
- bl_operators/object/__init__.pyi +1876 -615
- bl_operators/object_align/__init__.pyi +126 -41
- bl_operators/object_quick_effects/__init__.pyi +502 -165
- bl_operators/object_randomize_transform/__init__.pyi +126 -41
- bl_operators/presets/__init__.pyi +3069 -1027
- bl_operators/rigidbody/__init__.pyi +376 -123
- bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
- bl_operators/sequencer/__init__.pyi +1009 -331
- bl_operators/spreadsheet/__init__.pyi +126 -41
- bl_operators/userpref/__init__.pyi +3263 -1078
- bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
- bl_operators/uvcalc_transform/__init__.pyi +289 -90
- bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
- bl_operators/view3d/__init__.pyi +868 -279
- bl_operators/wm/__init__.pyi +5777 -1934
- bl_operators/world/__init__.pyi +126 -41
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
- bl_rna_utils/data_path/__init__.pyi +8 -3
- bl_ui/__init__.pyi +338 -131
- bl_ui/anim/__init__.pyi +164 -64
- bl_ui/asset_shelf/__init__.pyi +129 -42
- bl_ui/generic_ui_list/__init__.pyi +412 -135
- bl_ui/node_add_menu/__init__.pyi +168 -68
- bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
- bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
- bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +806 -274
- bl_ui/properties_constraint/__init__.pyi +10253 -3458
- bl_ui/properties_data_armature/__init__.pyi +1615 -552
- bl_ui/properties_data_bone/__init__.pyi +1288 -425
- bl_ui/properties_data_camera/__init__.pyi +1854 -631
- bl_ui/properties_data_curve/__init__.pyi +1929 -636
- bl_ui/properties_data_curves/__init__.pyi +806 -274
- bl_ui/properties_data_empty/__init__.pyi +257 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
- bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
- bl_ui/properties_data_lattice/__init__.pyi +388 -127
- bl_ui/properties_data_light/__init__.pyi +1541 -506
- bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
- bl_ui/properties_data_mesh/__init__.pyi +2704 -929
- bl_ui/properties_data_metaball/__init__.pyi +644 -211
- bl_ui/properties_data_modifier/__init__.pyi +1353 -502
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
- bl_ui/properties_data_speaker/__init__.pyi +644 -211
- bl_ui/properties_data_volume/__init__.pyi +1030 -339
- bl_ui/properties_freestyle/__init__.pyi +3113 -1035
- bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
- bl_ui/properties_mask_common/__init__.pyi +1101 -420
- bl_ui/properties_material/__init__.pyi +2091 -699
- bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
- bl_ui/properties_object/__init__.pyi +1838 -618
- bl_ui/properties_output/__init__.pyi +2414 -831
- bl_ui/properties_paint_common/__init__.pyi +412 -289
- bl_ui/properties_particle/__init__.pyi +6737 -2241
- bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
- bl_ui/properties_physics_common/__init__.pyi +129 -42
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
- bl_ui/properties_physics_field/__init__.pyi +1283 -422
- bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
- bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
- bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
- bl_ui/properties_render/__init__.pyi +6830 -2263
- bl_ui/properties_scene/__init__.pyi +1929 -636
- bl_ui/properties_texture/__init__.pyi +3370 -1118
- bl_ui/properties_view_layer/__init__.pyi +2346 -782
- bl_ui/properties_workspace/__init__.pyi +516 -169
- bl_ui/properties_world/__init__.pyi +1284 -421
- bl_ui/space_clip/__init__.pyi +10134 -3639
- bl_ui/space_console/__init__.pyi +939 -357
- bl_ui/space_dopesheet/__init__.pyi +4327 -1562
- bl_ui/space_filebrowser/__init__.pyi +4164 -1499
- bl_ui/space_graph/__init__.pyi +3108 -1179
- bl_ui/space_image/__init__.pyi +9766 -3596
- bl_ui/space_info/__init__.pyi +939 -357
- bl_ui/space_nla/__init__.pyi +2620 -988
- bl_ui/space_node/__init__.pyi +3994 -1434
- bl_ui/space_outliner/__init__.pyi +2203 -842
- bl_ui/space_properties/__init__.pyi +386 -127
- bl_ui/space_sequencer/__init__.pyi +10773 -3878
- bl_ui/space_spreadsheet/__init__.pyi +130 -43
- bl_ui/space_statusbar/__init__.pyi +129 -42
- bl_ui/space_text/__init__.pyi +2458 -925
- bl_ui/space_time/__init__.pyi +1033 -378
- bl_ui/space_toolsystem_common/__init__.pyi +20 -16
- bl_ui/space_toolsystem_toolbar/__init__.pyi +37 -21
- bl_ui/space_topbar/__init__.pyi +3980 -1496
- bl_ui/space_userpref/__init__.pyi +11373 -3797
- bl_ui/space_view3d/__init__.pyi +40865 -15356
- bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
- bl_ui/temp_anim_layers/__init__.pyi +129 -42
- bl_ui/utils/__init__.pyi +28 -20
- bl_ui_utils/bug_report_url/__init__.pyi +1 -1
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +1 -1
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +38 -38
- bmesh/utils/__init__.pyi +10 -13
- bpy/app/__init__.pyi +4 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -8
- bpy/app/timers/__init__.pyi +10 -10
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +316 -394
- bpy/ops/anim/__init__.pyi +442 -548
- bpy/ops/armature/__init__.pyi +374 -470
- bpy/ops/asset/__init__.pyi +152 -184
- bpy/ops/bl_pkg/__init__.pyi +221 -272
- bpy/ops/boid/__init__.pyi +50 -66
- bpy/ops/brush/__init__.pyi +72 -90
- bpy/ops/buttons/__init__.pyi +132 -144
- bpy/ops/cachefile/__init__.pyi +128 -138
- bpy/ops/camera/__init__.pyi +26 -30
- bpy/ops/clip/__init__.pyi +777 -964
- bpy/ops/cloth/__init__.pyi +12 -14
- bpy/ops/collection/__init__.pyi +68 -86
- bpy/ops/console/__init__.pyi +158 -200
- bpy/ops/constraint/__init__.pyi +178 -214
- bpy/ops/curve/__init__.pyi +473 -576
- bpy/ops/curves/__init__.pyi +247 -302
- bpy/ops/cycles/__init__.pyi +28 -34
- bpy/ops/dpaint/__init__.pyi +34 -44
- bpy/ops/ed/__init__.pyi +126 -150
- bpy/ops/export_anim/__init__.pyi +22 -24
- bpy/ops/export_scene/__init__.pyi +302 -336
- bpy/ops/file/__init__.pyi +352 -432
- bpy/ops/fluid/__init__.pyi +90 -118
- bpy/ops/font/__init__.pyi +258 -304
- bpy/ops/geometry/__init__.pyi +100 -120
- bpy/ops/gizmogroup/__init__.pyi +22 -26
- bpy/ops/gpencil/__init__.pyi +1469 -1778
- bpy/ops/graph/__init__.pyi +644 -776
- bpy/ops/grease_pencil/__init__.pyi +597 -748
- bpy/ops/image/__init__.pyi +648 -744
- bpy/ops/import_anim/__init__.pyi +30 -32
- bpy/ops/import_curve/__init__.pyi +10 -12
- bpy/ops/import_scene/__init__.pyi +88 -96
- bpy/ops/info/__init__.pyi +60 -74
- bpy/ops/lattice/__init__.pyi +64 -80
- bpy/ops/marker/__init__.pyi +108 -130
- bpy/ops/mask/__init__.pyi +322 -402
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -86
- bpy/ops/mesh/__init__.pyi +1986 -2322
- bpy/ops/nla/__init__.pyi +333 -411
- bpy/ops/node/__init__.pyi +886 -1100
- bpy/ops/object/__init__.pyi +2585 -3078
- bpy/ops/outliner/__init__.pyi +498 -636
- bpy/ops/paint/__init__.pyi +565 -680
- bpy/ops/paintcurve/__init__.pyi +64 -80
- bpy/ops/palette/__init__.pyi +50 -64
- bpy/ops/particle/__init__.pyi +267 -340
- bpy/ops/pose/__init__.pyi +336 -414
- bpy/ops/poselib/__init__.pyi +72 -90
- bpy/ops/preferences/__init__.pyi +386 -463
- bpy/ops/ptcache/__init__.pyi +46 -60
- bpy/ops/render/__init__.pyi +130 -154
- bpy/ops/rigidbody/__init__.pyi +102 -128
- bpy/ops/scene/__init__.pyi +280 -358
- bpy/ops/screen/__init__.pyi +382 -460
- bpy/ops/script/__init__.pyi +24 -30
- bpy/ops/sculpt/__init__.pyi +458 -532
- bpy/ops/sculpt_curves/__init__.pyi +41 -50
- bpy/ops/sequencer/__init__.pyi +1066 -1244
- bpy/ops/sound/__init__.pyi +216 -230
- bpy/ops/spreadsheet/__init__.pyi +30 -38
- bpy/ops/surface/__init__.pyi +108 -120
- bpy/ops/text/__init__.pyi +390 -476
- bpy/ops/text_editor/__init__.pyi +12 -14
- bpy/ops/texture/__init__.pyi +26 -34
- bpy/ops/transform/__init__.pyi +792 -878
- bpy/ops/ui/__init__.pyi +228 -294
- bpy/ops/uilist/__init__.pyi +32 -38
- bpy/ops/uv/__init__.pyi +602 -704
- bpy/ops/view2d/__init__.pyi +156 -184
- bpy/ops/view3d/__init__.pyi +582 -718
- bpy/ops/wm/__init__.pyi +2680 -2928
- bpy/ops/workspace/__init__.pyi +46 -60
- bpy/ops/world/__init__.pyi +12 -16
- bpy/path/__init__.pyi +179 -75
- bpy/props/__init__.pyi +261 -263
- bpy/types/__init__.pyi +17056 -21951
- bpy/utils/__init__.pyi +242 -118
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -28
- bpy_extras/bmesh_utils/__init__.pyi +8 -2
- bpy_extras/extensions/junction_module/__init__.pyi +5 -2
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +113 -18
- bpy_extras/keyconfig_utils/__init__.pyi +2 -2
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +9 -4
- bpy_extras/node_utils/__init__.pyi +9 -2
- bpy_extras/object_utils/__init__.pyi +71 -12
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
- bpy_types/__init__.pyi +4197 -1333
- console_python/__init__.pyi +6 -1
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
- fake_bpy_module-20240517.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +3 -3
- gpu/matrix/__init__.pyi +6 -8
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +12 -12
- gpu_extras/presets/__init__.pyi +2 -5
- graphviz_export/__init__.pyi +4 -2
- idprop/types/__init__.pyi +2 -2
- imbuf/__init__.pyi +4 -4
- keyingsets_builtins/__init__.pyi +2688 -839
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_utils/__init__.pyi +1 -1
- rna_info/__init__.pyi +17 -15
- rna_keymap_ui/__init__.pyi +1 -1
- rna_prop_ui/__init__.pyi +16 -14
- rna_xml/__init__.pyi +12 -12
- _bpy_internal/freedesktop/py.typed +0 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_console_utils/autocomplete/py.typed +0 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/bmesh/py.typed +0 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/py.typed +0 -0
- bl_operators/world/py.typed +0 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/anim/py.typed +0 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/temp_anim_layers/py.typed +0 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/py.typed +0 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/py.typed +0 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/py.typed +0 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/bl_pkg/py.typed +0 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/py.typed +0 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/py.typed +0 -0
- bpy/props/py.typed +0 -0
- bpy/types/py.typed +0 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/py.typed +0 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- fake_bpy_module-20240516.dist-info/RECORD +0 -618
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/py.typed +0 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/py.typed +0 -0
- gpu/select/py.typed +0 -0
- gpu/shader/py.typed +0 -0
- gpu/state/py.typed +0 -0
- gpu/texture/py.typed +0 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/py.typed +0 -0
- idprop/types/py.typed +0 -0
- imbuf/types/py.typed +0 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/py.typed +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import bpy.types
|
|
2
3
|
import bpy_types
|
|
3
4
|
import rna_prop_ui
|
|
4
5
|
|
|
@@ -26,22 +27,35 @@ class WORKSPACE_UL_addons_items(bpy_types.UIList, bpy_types._GenericUI):
|
|
|
26
27
|
""" """
|
|
27
28
|
|
|
28
29
|
def append(self, draw_func):
|
|
29
|
-
"""
|
|
30
|
+
"""Append a draw function to this menu,
|
|
31
|
+
takes the same arguments as the menus draw function
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
:param draw_func:
|
|
32
34
|
"""
|
|
33
35
|
...
|
|
34
36
|
|
|
35
|
-
def as_pointer(self):
|
|
36
|
-
"""
|
|
37
|
+
def as_pointer(self) -> int:
|
|
38
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
39
|
+
|
|
40
|
+
:return: int (memory address).
|
|
41
|
+
:rtype: int
|
|
42
|
+
"""
|
|
37
43
|
...
|
|
38
44
|
|
|
39
|
-
def bl_rna_get_subclass(self):
|
|
40
|
-
"""
|
|
45
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
:return: The RNA type or default when not found.
|
|
49
|
+
:rtype: bpy.types.Struct
|
|
50
|
+
"""
|
|
41
51
|
...
|
|
42
52
|
|
|
43
|
-
def bl_rna_get_subclass_py(self):
|
|
44
|
-
"""
|
|
53
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
:return: The class or default when not found.
|
|
57
|
+
:rtype: typing.Any
|
|
58
|
+
"""
|
|
45
59
|
...
|
|
46
60
|
|
|
47
61
|
def draw_item(
|
|
@@ -68,12 +82,20 @@ class WORKSPACE_UL_addons_items(bpy_types.UIList, bpy_types._GenericUI):
|
|
|
68
82
|
"""
|
|
69
83
|
...
|
|
70
84
|
|
|
71
|
-
def driver_add(self):
|
|
72
|
-
"""
|
|
85
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
86
|
+
"""Adds driver(s) to the given property
|
|
87
|
+
|
|
88
|
+
:return: The driver(s) added.
|
|
89
|
+
:rtype: bpy.types.FCurve
|
|
90
|
+
"""
|
|
73
91
|
...
|
|
74
92
|
|
|
75
|
-
def driver_remove(self):
|
|
76
|
-
"""
|
|
93
|
+
def driver_remove(self) -> bool:
|
|
94
|
+
"""Remove driver(s) from the given property
|
|
95
|
+
|
|
96
|
+
:return: Success of driver removal.
|
|
97
|
+
:rtype: bool
|
|
98
|
+
"""
|
|
77
99
|
...
|
|
78
100
|
|
|
79
101
|
def filter_items(self, _context, data, property):
|
|
@@ -86,97 +108,162 @@ class WORKSPACE_UL_addons_items(bpy_types.UIList, bpy_types._GenericUI):
|
|
|
86
108
|
...
|
|
87
109
|
|
|
88
110
|
def get(self):
|
|
89
|
-
"""
|
|
111
|
+
"""Returns the value of the custom property assigned to key or default
|
|
112
|
+
when not found (matches Python's dictionary function of the same name).
|
|
113
|
+
|
|
114
|
+
"""
|
|
90
115
|
...
|
|
91
116
|
|
|
92
117
|
def id_properties_clear(self):
|
|
93
|
-
"""
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
121
|
+
"""
|
|
94
122
|
...
|
|
95
123
|
|
|
96
124
|
def id_properties_ensure(self):
|
|
97
|
-
"""
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
128
|
+
"""
|
|
98
129
|
...
|
|
99
130
|
|
|
100
131
|
def id_properties_ui(self):
|
|
101
|
-
"""
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
135
|
+
"""
|
|
102
136
|
...
|
|
103
137
|
|
|
104
138
|
def is_extended(self):
|
|
105
139
|
""" """
|
|
106
140
|
...
|
|
107
141
|
|
|
108
|
-
def is_property_hidden(self):
|
|
109
|
-
"""
|
|
142
|
+
def is_property_hidden(self) -> bool:
|
|
143
|
+
"""Check if a property is hidden.
|
|
144
|
+
|
|
145
|
+
:return: True when the property is hidden.
|
|
146
|
+
:rtype: bool
|
|
147
|
+
"""
|
|
110
148
|
...
|
|
111
149
|
|
|
112
|
-
def is_property_overridable_library(self):
|
|
113
|
-
"""
|
|
150
|
+
def is_property_overridable_library(self) -> bool:
|
|
151
|
+
"""Check if a property is overridable.
|
|
152
|
+
|
|
153
|
+
:return: True when the property is overridable.
|
|
154
|
+
:rtype: bool
|
|
155
|
+
"""
|
|
114
156
|
...
|
|
115
157
|
|
|
116
|
-
def is_property_readonly(self):
|
|
117
|
-
"""
|
|
158
|
+
def is_property_readonly(self) -> bool:
|
|
159
|
+
"""Check if a property is readonly.
|
|
160
|
+
|
|
161
|
+
:return: True when the property is readonly (not writable).
|
|
162
|
+
:rtype: bool
|
|
163
|
+
"""
|
|
118
164
|
...
|
|
119
165
|
|
|
120
|
-
def is_property_set(self):
|
|
121
|
-
"""
|
|
166
|
+
def is_property_set(self) -> bool:
|
|
167
|
+
"""Check if a property is set, use for testing operator properties.
|
|
168
|
+
|
|
169
|
+
:return: True when the property has been set.
|
|
170
|
+
:rtype: bool
|
|
171
|
+
"""
|
|
122
172
|
...
|
|
123
173
|
|
|
124
174
|
def items(self):
|
|
125
|
-
"""
|
|
175
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
176
|
+
dictionary function of the same name).
|
|
177
|
+
|
|
178
|
+
:return: custom property key, value pairs.
|
|
179
|
+
"""
|
|
126
180
|
...
|
|
127
181
|
|
|
128
|
-
def keyframe_delete(self):
|
|
129
|
-
"""
|
|
182
|
+
def keyframe_delete(self) -> bool:
|
|
183
|
+
"""Remove a keyframe from this properties fcurve.
|
|
184
|
+
|
|
185
|
+
:return: Success of keyframe deletion.
|
|
186
|
+
:rtype: bool
|
|
187
|
+
"""
|
|
130
188
|
...
|
|
131
189
|
|
|
132
|
-
def keyframe_insert(self):
|
|
133
|
-
"""
|
|
190
|
+
def keyframe_insert(self) -> bool:
|
|
191
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
192
|
+
|
|
193
|
+
:return: Success of keyframe insertion.
|
|
194
|
+
:rtype: bool
|
|
195
|
+
"""
|
|
134
196
|
...
|
|
135
197
|
|
|
136
198
|
def keys(self):
|
|
137
|
-
"""
|
|
199
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
200
|
+
dictionary function of the same name).
|
|
201
|
+
|
|
202
|
+
:return: custom property keys.
|
|
203
|
+
"""
|
|
138
204
|
...
|
|
139
205
|
|
|
140
|
-
def path_from_id(self):
|
|
141
|
-
"""
|
|
206
|
+
def path_from_id(self) -> str:
|
|
207
|
+
"""Returns the data path from the ID to this object (string).
|
|
208
|
+
|
|
209
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
210
|
+
to this struct and property (when given).
|
|
211
|
+
:rtype: str
|
|
212
|
+
"""
|
|
142
213
|
...
|
|
143
214
|
|
|
144
215
|
def path_resolve(self):
|
|
145
|
-
""" """
|
|
216
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
146
217
|
...
|
|
147
218
|
|
|
148
219
|
def pop(self):
|
|
149
|
-
"""
|
|
220
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
221
|
+
when not found (matches Python's dictionary function of the same name).
|
|
222
|
+
|
|
223
|
+
"""
|
|
150
224
|
...
|
|
151
225
|
|
|
152
226
|
def prepend(self, draw_func):
|
|
153
|
-
"""
|
|
227
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
228
|
+
the menus draw function
|
|
154
229
|
|
|
155
|
-
|
|
230
|
+
:param draw_func:
|
|
156
231
|
"""
|
|
157
232
|
...
|
|
158
233
|
|
|
159
|
-
def property_overridable_library_set(self):
|
|
160
|
-
"""
|
|
234
|
+
def property_overridable_library_set(self) -> bool:
|
|
235
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
236
|
+
|
|
237
|
+
:return: True when the overridable status of the property was successfully set.
|
|
238
|
+
:rtype: bool
|
|
239
|
+
"""
|
|
161
240
|
...
|
|
162
241
|
|
|
163
242
|
def property_unset(self):
|
|
164
|
-
""" """
|
|
243
|
+
"""Unset a property, will use default value afterward."""
|
|
165
244
|
...
|
|
166
245
|
|
|
167
246
|
def remove(self, draw_func):
|
|
168
|
-
"""
|
|
247
|
+
"""Remove a draw function that has been added to this menu
|
|
169
248
|
|
|
170
249
|
:param draw_func:
|
|
171
250
|
"""
|
|
172
251
|
...
|
|
173
252
|
|
|
174
253
|
def type_recast(self):
|
|
175
|
-
"""
|
|
254
|
+
"""Return a new instance, this is needed because types
|
|
255
|
+
such as textures can be changed at runtime.
|
|
256
|
+
|
|
257
|
+
:return: a new instance of this object with the type initialized again.
|
|
258
|
+
"""
|
|
176
259
|
...
|
|
177
260
|
|
|
178
261
|
def values(self):
|
|
179
|
-
"""
|
|
262
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
263
|
+
dictionary function of the same name).
|
|
264
|
+
|
|
265
|
+
:return: custom property values.
|
|
266
|
+
"""
|
|
180
267
|
...
|
|
181
268
|
|
|
182
269
|
class WORKSPACE_PT_addons(bpy_types.Panel, WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
@@ -210,22 +297,35 @@ class WORKSPACE_PT_addons(bpy_types.Panel, WorkSpaceButtonsPanel, bpy_types._Gen
|
|
|
210
297
|
""" """
|
|
211
298
|
|
|
212
299
|
def append(self, draw_func):
|
|
213
|
-
"""
|
|
300
|
+
"""Append a draw function to this menu,
|
|
301
|
+
takes the same arguments as the menus draw function
|
|
214
302
|
|
|
215
|
-
|
|
303
|
+
:param draw_func:
|
|
216
304
|
"""
|
|
217
305
|
...
|
|
218
306
|
|
|
219
|
-
def as_pointer(self):
|
|
220
|
-
"""
|
|
307
|
+
def as_pointer(self) -> int:
|
|
308
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
309
|
+
|
|
310
|
+
:return: int (memory address).
|
|
311
|
+
:rtype: int
|
|
312
|
+
"""
|
|
221
313
|
...
|
|
222
314
|
|
|
223
|
-
def bl_rna_get_subclass(self):
|
|
224
|
-
"""
|
|
315
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
316
|
+
"""
|
|
317
|
+
|
|
318
|
+
:return: The RNA type or default when not found.
|
|
319
|
+
:rtype: bpy.types.Struct
|
|
320
|
+
"""
|
|
225
321
|
...
|
|
226
322
|
|
|
227
|
-
def bl_rna_get_subclass_py(self):
|
|
228
|
-
"""
|
|
323
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
324
|
+
"""
|
|
325
|
+
|
|
326
|
+
:return: The class or default when not found.
|
|
327
|
+
:rtype: typing.Any
|
|
328
|
+
"""
|
|
229
329
|
...
|
|
230
330
|
|
|
231
331
|
def draw(self, context):
|
|
@@ -242,106 +342,179 @@ class WORKSPACE_PT_addons(bpy_types.Panel, WorkSpaceButtonsPanel, bpy_types._Gen
|
|
|
242
342
|
"""
|
|
243
343
|
...
|
|
244
344
|
|
|
245
|
-
def driver_add(self):
|
|
246
|
-
"""
|
|
345
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
346
|
+
"""Adds driver(s) to the given property
|
|
347
|
+
|
|
348
|
+
:return: The driver(s) added.
|
|
349
|
+
:rtype: bpy.types.FCurve
|
|
350
|
+
"""
|
|
247
351
|
...
|
|
248
352
|
|
|
249
|
-
def driver_remove(self):
|
|
250
|
-
"""
|
|
353
|
+
def driver_remove(self) -> bool:
|
|
354
|
+
"""Remove driver(s) from the given property
|
|
355
|
+
|
|
356
|
+
:return: Success of driver removal.
|
|
357
|
+
:rtype: bool
|
|
358
|
+
"""
|
|
251
359
|
...
|
|
252
360
|
|
|
253
361
|
def get(self):
|
|
254
|
-
"""
|
|
362
|
+
"""Returns the value of the custom property assigned to key or default
|
|
363
|
+
when not found (matches Python's dictionary function of the same name).
|
|
364
|
+
|
|
365
|
+
"""
|
|
255
366
|
...
|
|
256
367
|
|
|
257
368
|
def id_properties_clear(self):
|
|
258
|
-
"""
|
|
369
|
+
"""
|
|
370
|
+
|
|
371
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
372
|
+
"""
|
|
259
373
|
...
|
|
260
374
|
|
|
261
375
|
def id_properties_ensure(self):
|
|
262
|
-
"""
|
|
376
|
+
"""
|
|
377
|
+
|
|
378
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
379
|
+
"""
|
|
263
380
|
...
|
|
264
381
|
|
|
265
382
|
def id_properties_ui(self):
|
|
266
|
-
"""
|
|
383
|
+
"""
|
|
384
|
+
|
|
385
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
386
|
+
"""
|
|
267
387
|
...
|
|
268
388
|
|
|
269
389
|
def is_extended(self):
|
|
270
390
|
""" """
|
|
271
391
|
...
|
|
272
392
|
|
|
273
|
-
def is_property_hidden(self):
|
|
274
|
-
"""
|
|
393
|
+
def is_property_hidden(self) -> bool:
|
|
394
|
+
"""Check if a property is hidden.
|
|
395
|
+
|
|
396
|
+
:return: True when the property is hidden.
|
|
397
|
+
:rtype: bool
|
|
398
|
+
"""
|
|
275
399
|
...
|
|
276
400
|
|
|
277
|
-
def is_property_overridable_library(self):
|
|
278
|
-
"""
|
|
401
|
+
def is_property_overridable_library(self) -> bool:
|
|
402
|
+
"""Check if a property is overridable.
|
|
403
|
+
|
|
404
|
+
:return: True when the property is overridable.
|
|
405
|
+
:rtype: bool
|
|
406
|
+
"""
|
|
279
407
|
...
|
|
280
408
|
|
|
281
|
-
def is_property_readonly(self):
|
|
282
|
-
"""
|
|
409
|
+
def is_property_readonly(self) -> bool:
|
|
410
|
+
"""Check if a property is readonly.
|
|
411
|
+
|
|
412
|
+
:return: True when the property is readonly (not writable).
|
|
413
|
+
:rtype: bool
|
|
414
|
+
"""
|
|
283
415
|
...
|
|
284
416
|
|
|
285
|
-
def is_property_set(self):
|
|
286
|
-
"""
|
|
417
|
+
def is_property_set(self) -> bool:
|
|
418
|
+
"""Check if a property is set, use for testing operator properties.
|
|
419
|
+
|
|
420
|
+
:return: True when the property has been set.
|
|
421
|
+
:rtype: bool
|
|
422
|
+
"""
|
|
287
423
|
...
|
|
288
424
|
|
|
289
425
|
def items(self):
|
|
290
|
-
"""
|
|
426
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
427
|
+
dictionary function of the same name).
|
|
428
|
+
|
|
429
|
+
:return: custom property key, value pairs.
|
|
430
|
+
"""
|
|
291
431
|
...
|
|
292
432
|
|
|
293
|
-
def keyframe_delete(self):
|
|
294
|
-
"""
|
|
433
|
+
def keyframe_delete(self) -> bool:
|
|
434
|
+
"""Remove a keyframe from this properties fcurve.
|
|
435
|
+
|
|
436
|
+
:return: Success of keyframe deletion.
|
|
437
|
+
:rtype: bool
|
|
438
|
+
"""
|
|
295
439
|
...
|
|
296
440
|
|
|
297
|
-
def keyframe_insert(self):
|
|
298
|
-
"""
|
|
441
|
+
def keyframe_insert(self) -> bool:
|
|
442
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
443
|
+
|
|
444
|
+
:return: Success of keyframe insertion.
|
|
445
|
+
:rtype: bool
|
|
446
|
+
"""
|
|
299
447
|
...
|
|
300
448
|
|
|
301
449
|
def keys(self):
|
|
302
|
-
"""
|
|
450
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
451
|
+
dictionary function of the same name).
|
|
452
|
+
|
|
453
|
+
:return: custom property keys.
|
|
454
|
+
"""
|
|
303
455
|
...
|
|
304
456
|
|
|
305
|
-
def path_from_id(self):
|
|
306
|
-
"""
|
|
457
|
+
def path_from_id(self) -> str:
|
|
458
|
+
"""Returns the data path from the ID to this object (string).
|
|
459
|
+
|
|
460
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
461
|
+
to this struct and property (when given).
|
|
462
|
+
:rtype: str
|
|
463
|
+
"""
|
|
307
464
|
...
|
|
308
465
|
|
|
309
466
|
def path_resolve(self):
|
|
310
|
-
""" """
|
|
467
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
311
468
|
...
|
|
312
469
|
|
|
313
470
|
def pop(self):
|
|
314
|
-
"""
|
|
471
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
472
|
+
when not found (matches Python's dictionary function of the same name).
|
|
473
|
+
|
|
474
|
+
"""
|
|
315
475
|
...
|
|
316
476
|
|
|
317
477
|
def prepend(self, draw_func):
|
|
318
|
-
"""
|
|
478
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
479
|
+
the menus draw function
|
|
319
480
|
|
|
320
|
-
|
|
481
|
+
:param draw_func:
|
|
321
482
|
"""
|
|
322
483
|
...
|
|
323
484
|
|
|
324
|
-
def property_overridable_library_set(self):
|
|
325
|
-
"""
|
|
485
|
+
def property_overridable_library_set(self) -> bool:
|
|
486
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
487
|
+
|
|
488
|
+
:return: True when the overridable status of the property was successfully set.
|
|
489
|
+
:rtype: bool
|
|
490
|
+
"""
|
|
326
491
|
...
|
|
327
492
|
|
|
328
493
|
def property_unset(self):
|
|
329
|
-
""" """
|
|
494
|
+
"""Unset a property, will use default value afterward."""
|
|
330
495
|
...
|
|
331
496
|
|
|
332
497
|
def remove(self, draw_func):
|
|
333
|
-
"""
|
|
498
|
+
"""Remove a draw function that has been added to this menu
|
|
334
499
|
|
|
335
500
|
:param draw_func:
|
|
336
501
|
"""
|
|
337
502
|
...
|
|
338
503
|
|
|
339
504
|
def type_recast(self):
|
|
340
|
-
"""
|
|
505
|
+
"""Return a new instance, this is needed because types
|
|
506
|
+
such as textures can be changed at runtime.
|
|
507
|
+
|
|
508
|
+
:return: a new instance of this object with the type initialized again.
|
|
509
|
+
"""
|
|
341
510
|
...
|
|
342
511
|
|
|
343
512
|
def values(self):
|
|
344
|
-
"""
|
|
513
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
514
|
+
dictionary function of the same name).
|
|
515
|
+
|
|
516
|
+
:return: custom property values.
|
|
517
|
+
"""
|
|
345
518
|
...
|
|
346
519
|
|
|
347
520
|
class WORKSPACE_PT_custom_props(
|
|
@@ -350,7 +523,9 @@ class WORKSPACE_PT_custom_props(
|
|
|
350
523
|
rna_prop_ui.PropertyPanel,
|
|
351
524
|
bpy_types._GenericUI,
|
|
352
525
|
):
|
|
353
|
-
"""
|
|
526
|
+
"""The subclass should have its own poll function
|
|
527
|
+
and the variable '_context_path' MUST be set.
|
|
528
|
+
"""
|
|
354
529
|
|
|
355
530
|
bl_category: typing.Any
|
|
356
531
|
""" """
|
|
@@ -380,22 +555,35 @@ class WORKSPACE_PT_custom_props(
|
|
|
380
555
|
""" """
|
|
381
556
|
|
|
382
557
|
def append(self, draw_func):
|
|
383
|
-
"""
|
|
558
|
+
"""Append a draw function to this menu,
|
|
559
|
+
takes the same arguments as the menus draw function
|
|
384
560
|
|
|
385
|
-
|
|
561
|
+
:param draw_func:
|
|
386
562
|
"""
|
|
387
563
|
...
|
|
388
564
|
|
|
389
|
-
def as_pointer(self):
|
|
390
|
-
"""
|
|
565
|
+
def as_pointer(self) -> int:
|
|
566
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
567
|
+
|
|
568
|
+
:return: int (memory address).
|
|
569
|
+
:rtype: int
|
|
570
|
+
"""
|
|
391
571
|
...
|
|
392
572
|
|
|
393
|
-
def bl_rna_get_subclass(self):
|
|
394
|
-
"""
|
|
573
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
574
|
+
"""
|
|
575
|
+
|
|
576
|
+
:return: The RNA type or default when not found.
|
|
577
|
+
:rtype: bpy.types.Struct
|
|
578
|
+
"""
|
|
395
579
|
...
|
|
396
580
|
|
|
397
|
-
def bl_rna_get_subclass_py(self):
|
|
398
|
-
"""
|
|
581
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
582
|
+
"""
|
|
583
|
+
|
|
584
|
+
:return: The class or default when not found.
|
|
585
|
+
:rtype: typing.Any
|
|
586
|
+
"""
|
|
399
587
|
...
|
|
400
588
|
|
|
401
589
|
def draw(self, context):
|
|
@@ -405,72 +593,129 @@ class WORKSPACE_PT_custom_props(
|
|
|
405
593
|
"""
|
|
406
594
|
...
|
|
407
595
|
|
|
408
|
-
def driver_add(self):
|
|
409
|
-
"""
|
|
596
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
597
|
+
"""Adds driver(s) to the given property
|
|
598
|
+
|
|
599
|
+
:return: The driver(s) added.
|
|
600
|
+
:rtype: bpy.types.FCurve
|
|
601
|
+
"""
|
|
410
602
|
...
|
|
411
603
|
|
|
412
|
-
def driver_remove(self):
|
|
413
|
-
"""
|
|
604
|
+
def driver_remove(self) -> bool:
|
|
605
|
+
"""Remove driver(s) from the given property
|
|
606
|
+
|
|
607
|
+
:return: Success of driver removal.
|
|
608
|
+
:rtype: bool
|
|
609
|
+
"""
|
|
414
610
|
...
|
|
415
611
|
|
|
416
612
|
def get(self):
|
|
417
|
-
"""
|
|
613
|
+
"""Returns the value of the custom property assigned to key or default
|
|
614
|
+
when not found (matches Python's dictionary function of the same name).
|
|
615
|
+
|
|
616
|
+
"""
|
|
418
617
|
...
|
|
419
618
|
|
|
420
619
|
def id_properties_clear(self):
|
|
421
|
-
"""
|
|
620
|
+
"""
|
|
621
|
+
|
|
622
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
623
|
+
"""
|
|
422
624
|
...
|
|
423
625
|
|
|
424
626
|
def id_properties_ensure(self):
|
|
425
|
-
"""
|
|
627
|
+
"""
|
|
628
|
+
|
|
629
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
630
|
+
"""
|
|
426
631
|
...
|
|
427
632
|
|
|
428
633
|
def id_properties_ui(self):
|
|
429
|
-
"""
|
|
634
|
+
"""
|
|
635
|
+
|
|
636
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
637
|
+
"""
|
|
430
638
|
...
|
|
431
639
|
|
|
432
640
|
def is_extended(self):
|
|
433
641
|
""" """
|
|
434
642
|
...
|
|
435
643
|
|
|
436
|
-
def is_property_hidden(self):
|
|
437
|
-
"""
|
|
644
|
+
def is_property_hidden(self) -> bool:
|
|
645
|
+
"""Check if a property is hidden.
|
|
646
|
+
|
|
647
|
+
:return: True when the property is hidden.
|
|
648
|
+
:rtype: bool
|
|
649
|
+
"""
|
|
438
650
|
...
|
|
439
651
|
|
|
440
|
-
def is_property_overridable_library(self):
|
|
441
|
-
"""
|
|
652
|
+
def is_property_overridable_library(self) -> bool:
|
|
653
|
+
"""Check if a property is overridable.
|
|
654
|
+
|
|
655
|
+
:return: True when the property is overridable.
|
|
656
|
+
:rtype: bool
|
|
657
|
+
"""
|
|
442
658
|
...
|
|
443
659
|
|
|
444
|
-
def is_property_readonly(self):
|
|
445
|
-
"""
|
|
660
|
+
def is_property_readonly(self) -> bool:
|
|
661
|
+
"""Check if a property is readonly.
|
|
662
|
+
|
|
663
|
+
:return: True when the property is readonly (not writable).
|
|
664
|
+
:rtype: bool
|
|
665
|
+
"""
|
|
446
666
|
...
|
|
447
667
|
|
|
448
|
-
def is_property_set(self):
|
|
449
|
-
"""
|
|
668
|
+
def is_property_set(self) -> bool:
|
|
669
|
+
"""Check if a property is set, use for testing operator properties.
|
|
670
|
+
|
|
671
|
+
:return: True when the property has been set.
|
|
672
|
+
:rtype: bool
|
|
673
|
+
"""
|
|
450
674
|
...
|
|
451
675
|
|
|
452
676
|
def items(self):
|
|
453
|
-
"""
|
|
677
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
678
|
+
dictionary function of the same name).
|
|
679
|
+
|
|
680
|
+
:return: custom property key, value pairs.
|
|
681
|
+
"""
|
|
454
682
|
...
|
|
455
683
|
|
|
456
|
-
def keyframe_delete(self):
|
|
457
|
-
"""
|
|
684
|
+
def keyframe_delete(self) -> bool:
|
|
685
|
+
"""Remove a keyframe from this properties fcurve.
|
|
686
|
+
|
|
687
|
+
:return: Success of keyframe deletion.
|
|
688
|
+
:rtype: bool
|
|
689
|
+
"""
|
|
458
690
|
...
|
|
459
691
|
|
|
460
|
-
def keyframe_insert(self):
|
|
461
|
-
"""
|
|
692
|
+
def keyframe_insert(self) -> bool:
|
|
693
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
694
|
+
|
|
695
|
+
:return: Success of keyframe insertion.
|
|
696
|
+
:rtype: bool
|
|
697
|
+
"""
|
|
462
698
|
...
|
|
463
699
|
|
|
464
700
|
def keys(self):
|
|
465
|
-
"""
|
|
701
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
702
|
+
dictionary function of the same name).
|
|
703
|
+
|
|
704
|
+
:return: custom property keys.
|
|
705
|
+
"""
|
|
466
706
|
...
|
|
467
707
|
|
|
468
|
-
def path_from_id(self):
|
|
469
|
-
"""
|
|
708
|
+
def path_from_id(self) -> str:
|
|
709
|
+
"""Returns the data path from the ID to this object (string).
|
|
710
|
+
|
|
711
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
712
|
+
to this struct and property (when given).
|
|
713
|
+
:rtype: str
|
|
714
|
+
"""
|
|
470
715
|
...
|
|
471
716
|
|
|
472
717
|
def path_resolve(self):
|
|
473
|
-
""" """
|
|
718
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
474
719
|
...
|
|
475
720
|
|
|
476
721
|
def poll(self, context):
|
|
@@ -481,37 +726,53 @@ class WORKSPACE_PT_custom_props(
|
|
|
481
726
|
...
|
|
482
727
|
|
|
483
728
|
def pop(self):
|
|
484
|
-
"""
|
|
729
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
730
|
+
when not found (matches Python's dictionary function of the same name).
|
|
731
|
+
|
|
732
|
+
"""
|
|
485
733
|
...
|
|
486
734
|
|
|
487
735
|
def prepend(self, draw_func):
|
|
488
|
-
"""
|
|
736
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
737
|
+
the menus draw function
|
|
489
738
|
|
|
490
|
-
|
|
739
|
+
:param draw_func:
|
|
491
740
|
"""
|
|
492
741
|
...
|
|
493
742
|
|
|
494
|
-
def property_overridable_library_set(self):
|
|
495
|
-
"""
|
|
743
|
+
def property_overridable_library_set(self) -> bool:
|
|
744
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
745
|
+
|
|
746
|
+
:return: True when the overridable status of the property was successfully set.
|
|
747
|
+
:rtype: bool
|
|
748
|
+
"""
|
|
496
749
|
...
|
|
497
750
|
|
|
498
751
|
def property_unset(self):
|
|
499
|
-
""" """
|
|
752
|
+
"""Unset a property, will use default value afterward."""
|
|
500
753
|
...
|
|
501
754
|
|
|
502
755
|
def remove(self, draw_func):
|
|
503
|
-
"""
|
|
756
|
+
"""Remove a draw function that has been added to this menu
|
|
504
757
|
|
|
505
758
|
:param draw_func:
|
|
506
759
|
"""
|
|
507
760
|
...
|
|
508
761
|
|
|
509
762
|
def type_recast(self):
|
|
510
|
-
"""
|
|
763
|
+
"""Return a new instance, this is needed because types
|
|
764
|
+
such as textures can be changed at runtime.
|
|
765
|
+
|
|
766
|
+
:return: a new instance of this object with the type initialized again.
|
|
767
|
+
"""
|
|
511
768
|
...
|
|
512
769
|
|
|
513
770
|
def values(self):
|
|
514
|
-
"""
|
|
771
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
772
|
+
dictionary function of the same name).
|
|
773
|
+
|
|
774
|
+
:return: custom property values.
|
|
775
|
+
"""
|
|
515
776
|
...
|
|
516
777
|
|
|
517
778
|
class WORKSPACE_PT_main(bpy_types.Panel, WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
@@ -539,22 +800,35 @@ class WORKSPACE_PT_main(bpy_types.Panel, WorkSpaceButtonsPanel, bpy_types._Gener
|
|
|
539
800
|
""" """
|
|
540
801
|
|
|
541
802
|
def append(self, draw_func):
|
|
542
|
-
"""
|
|
803
|
+
"""Append a draw function to this menu,
|
|
804
|
+
takes the same arguments as the menus draw function
|
|
543
805
|
|
|
544
|
-
|
|
806
|
+
:param draw_func:
|
|
545
807
|
"""
|
|
546
808
|
...
|
|
547
809
|
|
|
548
|
-
def as_pointer(self):
|
|
549
|
-
"""
|
|
810
|
+
def as_pointer(self) -> int:
|
|
811
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
812
|
+
|
|
813
|
+
:return: int (memory address).
|
|
814
|
+
:rtype: int
|
|
815
|
+
"""
|
|
550
816
|
...
|
|
551
817
|
|
|
552
|
-
def bl_rna_get_subclass(self):
|
|
553
|
-
"""
|
|
818
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
819
|
+
"""
|
|
820
|
+
|
|
821
|
+
:return: The RNA type or default when not found.
|
|
822
|
+
:rtype: bpy.types.Struct
|
|
823
|
+
"""
|
|
554
824
|
...
|
|
555
825
|
|
|
556
|
-
def bl_rna_get_subclass_py(self):
|
|
557
|
-
"""
|
|
826
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
827
|
+
"""
|
|
828
|
+
|
|
829
|
+
:return: The class or default when not found.
|
|
830
|
+
:rtype: typing.Any
|
|
831
|
+
"""
|
|
558
832
|
...
|
|
559
833
|
|
|
560
834
|
def draw(self, context):
|
|
@@ -564,104 +838,177 @@ class WORKSPACE_PT_main(bpy_types.Panel, WorkSpaceButtonsPanel, bpy_types._Gener
|
|
|
564
838
|
"""
|
|
565
839
|
...
|
|
566
840
|
|
|
567
|
-
def driver_add(self):
|
|
568
|
-
"""
|
|
841
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
842
|
+
"""Adds driver(s) to the given property
|
|
843
|
+
|
|
844
|
+
:return: The driver(s) added.
|
|
845
|
+
:rtype: bpy.types.FCurve
|
|
846
|
+
"""
|
|
569
847
|
...
|
|
570
848
|
|
|
571
|
-
def driver_remove(self):
|
|
572
|
-
"""
|
|
849
|
+
def driver_remove(self) -> bool:
|
|
850
|
+
"""Remove driver(s) from the given property
|
|
851
|
+
|
|
852
|
+
:return: Success of driver removal.
|
|
853
|
+
:rtype: bool
|
|
854
|
+
"""
|
|
573
855
|
...
|
|
574
856
|
|
|
575
857
|
def get(self):
|
|
576
|
-
"""
|
|
858
|
+
"""Returns the value of the custom property assigned to key or default
|
|
859
|
+
when not found (matches Python's dictionary function of the same name).
|
|
860
|
+
|
|
861
|
+
"""
|
|
577
862
|
...
|
|
578
863
|
|
|
579
864
|
def id_properties_clear(self):
|
|
580
|
-
"""
|
|
865
|
+
"""
|
|
866
|
+
|
|
867
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
868
|
+
"""
|
|
581
869
|
...
|
|
582
870
|
|
|
583
871
|
def id_properties_ensure(self):
|
|
584
|
-
"""
|
|
872
|
+
"""
|
|
873
|
+
|
|
874
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
875
|
+
"""
|
|
585
876
|
...
|
|
586
877
|
|
|
587
878
|
def id_properties_ui(self):
|
|
588
|
-
"""
|
|
879
|
+
"""
|
|
880
|
+
|
|
881
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
882
|
+
"""
|
|
589
883
|
...
|
|
590
884
|
|
|
591
885
|
def is_extended(self):
|
|
592
886
|
""" """
|
|
593
887
|
...
|
|
594
888
|
|
|
595
|
-
def is_property_hidden(self):
|
|
596
|
-
"""
|
|
889
|
+
def is_property_hidden(self) -> bool:
|
|
890
|
+
"""Check if a property is hidden.
|
|
891
|
+
|
|
892
|
+
:return: True when the property is hidden.
|
|
893
|
+
:rtype: bool
|
|
894
|
+
"""
|
|
597
895
|
...
|
|
598
896
|
|
|
599
|
-
def is_property_overridable_library(self):
|
|
600
|
-
"""
|
|
897
|
+
def is_property_overridable_library(self) -> bool:
|
|
898
|
+
"""Check if a property is overridable.
|
|
899
|
+
|
|
900
|
+
:return: True when the property is overridable.
|
|
901
|
+
:rtype: bool
|
|
902
|
+
"""
|
|
601
903
|
...
|
|
602
904
|
|
|
603
|
-
def is_property_readonly(self):
|
|
604
|
-
"""
|
|
905
|
+
def is_property_readonly(self) -> bool:
|
|
906
|
+
"""Check if a property is readonly.
|
|
907
|
+
|
|
908
|
+
:return: True when the property is readonly (not writable).
|
|
909
|
+
:rtype: bool
|
|
910
|
+
"""
|
|
605
911
|
...
|
|
606
912
|
|
|
607
|
-
def is_property_set(self):
|
|
608
|
-
"""
|
|
913
|
+
def is_property_set(self) -> bool:
|
|
914
|
+
"""Check if a property is set, use for testing operator properties.
|
|
915
|
+
|
|
916
|
+
:return: True when the property has been set.
|
|
917
|
+
:rtype: bool
|
|
918
|
+
"""
|
|
609
919
|
...
|
|
610
920
|
|
|
611
921
|
def items(self):
|
|
612
|
-
"""
|
|
922
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
923
|
+
dictionary function of the same name).
|
|
924
|
+
|
|
925
|
+
:return: custom property key, value pairs.
|
|
926
|
+
"""
|
|
613
927
|
...
|
|
614
928
|
|
|
615
|
-
def keyframe_delete(self):
|
|
616
|
-
"""
|
|
929
|
+
def keyframe_delete(self) -> bool:
|
|
930
|
+
"""Remove a keyframe from this properties fcurve.
|
|
931
|
+
|
|
932
|
+
:return: Success of keyframe deletion.
|
|
933
|
+
:rtype: bool
|
|
934
|
+
"""
|
|
617
935
|
...
|
|
618
936
|
|
|
619
|
-
def keyframe_insert(self):
|
|
620
|
-
"""
|
|
937
|
+
def keyframe_insert(self) -> bool:
|
|
938
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
939
|
+
|
|
940
|
+
:return: Success of keyframe insertion.
|
|
941
|
+
:rtype: bool
|
|
942
|
+
"""
|
|
621
943
|
...
|
|
622
944
|
|
|
623
945
|
def keys(self):
|
|
624
|
-
"""
|
|
946
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
947
|
+
dictionary function of the same name).
|
|
948
|
+
|
|
949
|
+
:return: custom property keys.
|
|
950
|
+
"""
|
|
625
951
|
...
|
|
626
952
|
|
|
627
|
-
def path_from_id(self):
|
|
628
|
-
"""
|
|
953
|
+
def path_from_id(self) -> str:
|
|
954
|
+
"""Returns the data path from the ID to this object (string).
|
|
955
|
+
|
|
956
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
957
|
+
to this struct and property (when given).
|
|
958
|
+
:rtype: str
|
|
959
|
+
"""
|
|
629
960
|
...
|
|
630
961
|
|
|
631
962
|
def path_resolve(self):
|
|
632
|
-
""" """
|
|
963
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
633
964
|
...
|
|
634
965
|
|
|
635
966
|
def pop(self):
|
|
636
|
-
"""
|
|
967
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
968
|
+
when not found (matches Python's dictionary function of the same name).
|
|
969
|
+
|
|
970
|
+
"""
|
|
637
971
|
...
|
|
638
972
|
|
|
639
973
|
def prepend(self, draw_func):
|
|
640
|
-
"""
|
|
974
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
975
|
+
the menus draw function
|
|
641
976
|
|
|
642
|
-
|
|
977
|
+
:param draw_func:
|
|
643
978
|
"""
|
|
644
979
|
...
|
|
645
980
|
|
|
646
|
-
def property_overridable_library_set(self):
|
|
647
|
-
"""
|
|
981
|
+
def property_overridable_library_set(self) -> bool:
|
|
982
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
983
|
+
|
|
984
|
+
:return: True when the overridable status of the property was successfully set.
|
|
985
|
+
:rtype: bool
|
|
986
|
+
"""
|
|
648
987
|
...
|
|
649
988
|
|
|
650
989
|
def property_unset(self):
|
|
651
|
-
""" """
|
|
990
|
+
"""Unset a property, will use default value afterward."""
|
|
652
991
|
...
|
|
653
992
|
|
|
654
993
|
def remove(self, draw_func):
|
|
655
|
-
"""
|
|
994
|
+
"""Remove a draw function that has been added to this menu
|
|
656
995
|
|
|
657
996
|
:param draw_func:
|
|
658
997
|
"""
|
|
659
998
|
...
|
|
660
999
|
|
|
661
1000
|
def type_recast(self):
|
|
662
|
-
"""
|
|
1001
|
+
"""Return a new instance, this is needed because types
|
|
1002
|
+
such as textures can be changed at runtime.
|
|
1003
|
+
|
|
1004
|
+
:return: a new instance of this object with the type initialized again.
|
|
1005
|
+
"""
|
|
663
1006
|
...
|
|
664
1007
|
|
|
665
1008
|
def values(self):
|
|
666
|
-
"""
|
|
1009
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1010
|
+
dictionary function of the same name).
|
|
1011
|
+
|
|
1012
|
+
:return: custom property values.
|
|
1013
|
+
"""
|
|
667
1014
|
...
|