fake-bpy-module 20240718__py3-none-any.whl → 20240720__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.

Files changed (120) hide show
  1. bl_operators/add_mesh_torus/__init__.pyi +1 -190
  2. bl_operators/anim/__init__.pyi +104 -1504
  3. bl_operators/assets/__init__.pyi +3 -535
  4. bl_operators/bone_selection_sets/__init__.pyi +187 -2680
  5. bl_operators/clip/__init__.pyi +144 -1894
  6. bl_operators/connect_to_output/__init__.pyi +3 -176
  7. bl_operators/console/__init__.pyi +5 -880
  8. bl_operators/constraint/__init__.pyi +4 -704
  9. bl_operators/file/__init__.pyi +3 -528
  10. bl_operators/freestyle/__init__.pyi +4 -704
  11. bl_operators/geometry_nodes/__init__.pyi +4 -704
  12. bl_operators/image/__init__.pyi +5 -869
  13. bl_operators/image_as_planes/__init__.pyi +4 -424
  14. bl_operators/mesh/__init__.pyi +3 -528
  15. bl_operators/node/__init__.pyi +159 -2065
  16. bl_operators/object/__init__.pyi +217 -2842
  17. bl_operators/object_align/__init__.pyi +1 -176
  18. bl_operators/object_quick_effects/__init__.pyi +4 -725
  19. bl_operators/object_randomize_transform/__init__.pyi +1 -176
  20. bl_operators/presets/__init__.pyi +405 -5487
  21. bl_operators/rigidbody/__init__.pyi +3 -528
  22. bl_operators/screen_play_rendered_anim/__init__.pyi +1 -176
  23. bl_operators/sequencer/__init__.pyi +119 -1507
  24. bl_operators/spreadsheet/__init__.pyi +1 -176
  25. bl_operators/userpref/__init__.pyi +383 -4757
  26. bl_operators/uvcalc_follow_active/__init__.pyi +1 -176
  27. bl_operators/uvcalc_lightmap/__init__.pyi +1 -176
  28. bl_operators/uvcalc_transform/__init__.pyi +2 -352
  29. bl_operators/vertexpaint_dirt/__init__.pyi +1 -176
  30. bl_operators/view3d/__init__.pyi +101 -1468
  31. bl_operators/wm/__init__.pyi +723 -8894
  32. bl_operators/world/__init__.pyi +1 -176
  33. bl_ui/__init__.pyi +3 -534
  34. bl_ui/anim/__init__.pyi +1 -244
  35. bl_ui/asset_shelf/__init__.pyi +1 -189
  36. bl_ui/generic_ui_list/__init__.pyi +3 -594
  37. bl_ui/node_add_menu/__init__.pyi +1 -244
  38. bl_ui/node_add_menu_compositor/__init__.pyi +226 -4600
  39. bl_ui/node_add_menu_geometry/__init__.pyi +654 -12802
  40. bl_ui/node_add_menu_shader/__init__.pyi +94 -2531
  41. bl_ui/node_add_menu_texture/__init__.pyi +81 -2268
  42. bl_ui/properties_collection/__init__.pyi +58 -1272
  43. bl_ui/properties_constraint/__init__.pyi +1508 -32656
  44. bl_ui/properties_data_armature/__init__.pyi +278 -3804
  45. bl_ui/properties_data_bone/__init__.pyi +151 -2062
  46. bl_ui/properties_data_camera/__init__.pyi +216 -3034
  47. bl_ui/properties_data_curve/__init__.pyi +214 -3117
  48. bl_ui/properties_data_curves/__init__.pyi +57 -1273
  49. bl_ui/properties_data_empty/__init__.pyi +2 -385
  50. bl_ui/properties_data_gpencil/__init__.pyi +285 -3922
  51. bl_ui/properties_data_grease_pencil/__init__.pyi +198 -3081
  52. bl_ui/properties_data_lattice/__init__.pyi +3 -595
  53. bl_ui/properties_data_light/__init__.pyi +200 -2502
  54. bl_ui/properties_data_lightprobe/__init__.pyi +212 -2704
  55. bl_ui/properties_data_mesh/__init__.pyi +323 -4380
  56. bl_ui/properties_data_metaball/__init__.pyi +38 -1011
  57. bl_ui/properties_data_modifier/__init__.pyi +157 -2451
  58. bl_ui/properties_data_pointcloud/__init__.pyi +68 -1087
  59. bl_ui/properties_data_shaderfx/__init__.pyi +1 -189
  60. bl_ui/properties_data_speaker/__init__.pyi +36 -1018
  61. bl_ui/properties_data_volume/__init__.pyi +104 -1660
  62. bl_ui/properties_freestyle/__init__.pyi +438 -5136
  63. bl_ui/properties_grease_pencil_common/__init__.pyi +197 -3852
  64. bl_ui/properties_mask_common/__init__.pyi +59 -1705
  65. bl_ui/properties_material/__init__.pyi +227 -3334
  66. bl_ui/properties_material_gpencil/__init__.pyi +187 -2221
  67. bl_ui/properties_object/__init__.pyi +197 -2908
  68. bl_ui/properties_output/__init__.pyi +286 -3895
  69. bl_ui/properties_paint_common/__init__.pyi +40 -923
  70. bl_ui/properties_particle/__init__.pyi +954 -10839
  71. bl_ui/properties_physics_cloth/__init__.pyi +219 -2979
  72. bl_ui/properties_physics_common/__init__.pyi +1 -196
  73. bl_ui/properties_physics_dynamicpaint/__init__.pyi +429 -5411
  74. bl_ui/properties_physics_field/__init__.pyi +160 -2166
  75. bl_ui/properties_physics_fluid/__init__.pyi +541 -7352
  76. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -189
  77. bl_ui/properties_physics_rigidbody/__init__.pyi +125 -1623
  78. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +196 -2640
  79. bl_ui/properties_physics_softbody/__init__.pyi +238 -3135
  80. bl_ui/properties_render/__init__.pyi +1065 -11565
  81. bl_ui/properties_scene/__init__.pyi +209 -3090
  82. bl_ui/properties_texture/__init__.pyi +426 -5475
  83. bl_ui/properties_view_layer/__init__.pyi +264 -3827
  84. bl_ui/properties_workspace/__init__.pyi +7 -770
  85. bl_ui/properties_world/__init__.pyi +147 -2056
  86. bl_ui/space_clip/__init__.pyi +1013 -16279
  87. bl_ui/space_console/__init__.pyi +39 -1442
  88. bl_ui/space_dopesheet/__init__.pyi +450 -7213
  89. bl_ui/space_filebrowser/__init__.pyi +406 -6708
  90. bl_ui/space_graph/__init__.pyi +223 -4886
  91. bl_ui/space_image/__init__.pyi +1091 -16394
  92. bl_ui/space_info/__init__.pyi +39 -1442
  93. bl_ui/space_nla/__init__.pyi +216 -4157
  94. bl_ui/space_node/__init__.pyi +394 -6344
  95. bl_ui/space_outliner/__init__.pyi +156 -3448
  96. bl_ui/space_properties/__init__.pyi +3 -567
  97. bl_ui/space_sequencer/__init__.pyi +1224 -18036
  98. bl_ui/space_spreadsheet/__init__.pyi +1 -189
  99. bl_ui/space_statusbar/__init__.pyi +1 -189
  100. bl_ui/space_text/__init__.pyi +183 -3851
  101. bl_ui/space_time/__init__.pyi +69 -1622
  102. bl_ui/space_toolsystem_common/__init__.pyi +2 -118
  103. bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -476
  104. bl_ui/space_topbar/__init__.pyi +322 -6269
  105. bl_ui/space_userpref/__init__.pyi +1758 -19735
  106. bl_ui/space_view3d/__init__.pyi +3853 -67593
  107. bl_ui/space_view3d_toolbar/__init__.pyi +1948 -23558
  108. bl_ui/temp_anim_layers/__init__.pyi +1 -189
  109. bl_ui/utils/__init__.pyi +0 -35
  110. bpy/ops/outliner/__init__.pyi +0 -1
  111. bpy/ops/sound/__init__.pyi +37 -7
  112. bpy/types/__init__.pyi +65 -8
  113. bpy_extras/node_shader_utils/__init__.pyi +0 -8
  114. {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/METADATA +1 -1
  115. {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/RECORD +120 -120
  116. {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/WHEEL +1 -1
  117. freestyle/utils/__init__.pyi +1 -1
  118. keyingsets_builtins/__init__.pyi +268 -4448
  119. nodeitems_builtins/__init__.pyi +1 -7
  120. {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/top_level.txt +0 -0
@@ -7,28 +7,12 @@ import bpy_types
7
7
  GenericType1 = typing.TypeVar("GenericType1")
8
8
  GenericType2 = typing.TypeVar("GenericType2")
9
9
 
10
- class NODE_MT_category_texture_color(bpy_types._GenericUI):
10
+ class NODE_MT_category_texture_color(bpy.types.Menu, bpy_types._GenericUI):
11
11
  bl_idname: typing.Any
12
12
  bl_label: typing.Any
13
13
  bl_rna: typing.Any
14
14
  id_data: typing.Any
15
15
 
16
- def append(self, draw_func):
17
- """Append a draw function to this menu,
18
- takes the same arguments as the menus draw function
19
-
20
- :param draw_func:
21
- """
22
- ...
23
-
24
- def as_pointer(self) -> int:
25
- """Returns the memory address which holds a pointer to Blender's internal data
26
-
27
- :return: int (memory address).
28
- :rtype: int
29
- """
30
- ...
31
-
32
16
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
33
17
  """
34
18
 
@@ -52,255 +36,41 @@ class NODE_MT_category_texture_color(bpy_types._GenericUI):
52
36
  """
53
37
  ...
54
38
 
55
- def draw_collapsible(self, context, layout):
56
- """
57
-
58
- :param context:
59
- :param layout:
60
- """
61
- ...
62
-
63
- def draw_preset(self, _context):
64
- """Define these on the subclass:
65
- - preset_operator (string)
66
- - preset_subdir (string)Optionally:
67
- - preset_add_operator (string)
68
- - preset_extensions (set of strings)
69
- - preset_operator_defaults (dict of keyword args)
70
-
71
- :param _context:
72
- """
73
- ...
74
-
75
- def driver_add(self) -> bpy.types.FCurve:
76
- """Adds driver(s) to the given property
77
-
78
- :return: The driver(s) added.
79
- :rtype: bpy.types.FCurve
80
- """
81
- ...
82
-
83
- def driver_remove(self) -> bool:
84
- """Remove driver(s) from the given property
85
-
86
- :return: Success of driver removal.
87
- :rtype: bool
88
- """
89
- ...
90
-
91
- def get(self):
92
- """Returns the value of the custom property assigned to key or default
93
- when not found (matches Python's dictionary function of the same name).
94
-
95
- """
96
- ...
97
-
98
- def id_properties_clear(self):
99
- """
100
-
101
- :return: Remove the parent group for an RNA struct's custom IDProperties.
102
- """
103
- ...
104
-
105
- def id_properties_ensure(self):
106
- """
107
-
108
- :return: the parent group for an RNA struct's custom IDProperties.
109
- """
110
- ...
111
-
112
- def id_properties_ui(self):
113
- """
114
-
115
- :return: Return an object used to manage an IDProperty's UI data.
116
- """
117
- ...
118
-
119
- def is_extended(self): ...
120
- def is_property_hidden(self) -> bool:
121
- """Check if a property is hidden.
122
-
123
- :return: True when the property is hidden.
124
- :rtype: bool
125
- """
126
- ...
127
-
128
- def is_property_overridable_library(self) -> bool:
129
- """Check if a property is overridable.
130
-
131
- :return: True when the property is overridable.
132
- :rtype: bool
133
- """
134
- ...
135
-
136
- def is_property_readonly(self) -> bool:
137
- """Check if a property is readonly.
138
-
139
- :return: True when the property is readonly (not writable).
140
- :rtype: bool
141
- """
142
- ...
143
-
144
- def is_property_set(self) -> bool:
145
- """Check if a property is set, use for testing operator properties.
146
-
147
- :return: True when the property has been set.
148
- :rtype: bool
149
- """
150
- ...
151
-
152
- def items(self):
153
- """Returns the items of this objects custom properties (matches Python's
154
- dictionary function of the same name).
155
-
156
- :return: custom property key, value pairs.
157
- """
158
- ...
159
-
160
- def keyframe_delete(self) -> bool:
161
- """Remove a keyframe from this properties fcurve.
162
-
163
- :return: Success of keyframe deletion.
164
- :rtype: bool
165
- """
166
- ...
167
-
168
- def keyframe_insert(self) -> bool:
169
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
170
-
171
- :return: Success of keyframe insertion.
172
- :rtype: bool
173
- """
174
- ...
175
-
176
- def keys(self):
177
- """Returns the keys of this objects custom properties (matches Python's
178
- dictionary function of the same name).
179
-
180
- :return: custom property keys.
181
- """
182
- ...
183
-
184
- def path_from_id(self) -> str:
185
- """Returns the data path from the ID to this object (string).
186
-
187
- :return: The path from `bpy.types.bpy_struct.id_data`
188
- to this struct and property (when given).
189
- :rtype: str
190
- """
191
- ...
192
-
193
- def path_menu(
194
- self,
195
- searchpaths: list[str],
196
- operator: str,
197
- *,
198
- props_default: dict = None,
199
- prop_filepath: str | None = "filepath",
200
- filter_ext: collections.abc.Callable | None = None,
201
- filter_path=None,
202
- display_name: collections.abc.Callable | None = None,
203
- add_operator=None,
204
- add_operator_props=None,
205
- ):
206
- """Populate a menu from a list of paths.
207
-
208
- :param searchpaths: Paths to scan.
209
- :type searchpaths: list[str]
210
- :param operator: The operator id to use with each file.
211
- :type operator: str
212
- :param props_default: Properties to assign to each operator.
213
- :type props_default: dict
214
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
215
- :type prop_filepath: str | None
216
- :param filter_ext: Optional callback that takes the file extensions.
217
-
218
- Returning false excludes the file from the list.
219
- :type filter_ext: collections.abc.Callable | None
220
- :param filter_path:
221
- :param display_name: Optional callback that takes the full path, returns the name to display.
222
- :type display_name: collections.abc.Callable | None
223
- :param add_operator:
224
- :param add_operator_props:
225
- """
226
- ...
227
-
228
- def path_resolve(self):
229
- """Returns the property from the path, raise an exception when not found."""
230
- ...
231
-
232
- def pop(self):
233
- """Remove and return the value of the custom property assigned to key or default
234
- when not found (matches Python's dictionary function of the same name).
39
+ class NODE_MT_category_texture_converter(bpy.types.Menu, bpy_types._GenericUI):
40
+ bl_idname: typing.Any
41
+ bl_label: typing.Any
42
+ bl_rna: typing.Any
43
+ id_data: typing.Any
235
44
 
45
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
236
46
  """
237
- ...
238
47
 
239
- def prepend(self, draw_func):
240
- """Prepend a draw function to this menu, takes the same arguments as
241
- the menus draw function
242
-
243
- :param draw_func:
48
+ :return: The RNA type or default when not found.
49
+ :rtype: bpy.types.Struct
244
50
  """
245
51
  ...
246
52
 
247
- def property_overridable_library_set(self) -> bool:
248
- """Define a property as overridable or not (only for custom properties!).
249
-
250
- :return: True when the overridable status of the property was successfully set.
251
- :rtype: bool
53
+ def bl_rna_get_subclass_py(self) -> typing.Any:
252
54
  """
253
- ...
254
-
255
- def property_unset(self):
256
- """Unset a property, will use default value afterward."""
257
- ...
258
55
 
259
- def remove(self, draw_func):
260
- """Remove a draw function that has been added to this menu
261
-
262
- :param draw_func:
56
+ :return: The class or default when not found.
57
+ :rtype: typing.Any
263
58
  """
264
59
  ...
265
60
 
266
- def type_recast(self):
267
- """Return a new instance, this is needed because types
268
- such as textures can be changed at runtime.
269
-
270
- :return: a new instance of this object with the type initialized again.
61
+ def draw(self, _context):
271
62
  """
272
- ...
273
63
 
274
- def values(self):
275
- """Returns the values of this objects custom properties (matches Python's
276
- dictionary function of the same name).
277
-
278
- :return: custom property values.
64
+ :param _context:
279
65
  """
280
66
  ...
281
67
 
282
- class NODE_MT_category_texture_converter(bpy_types._GenericUI):
68
+ class NODE_MT_category_texture_distort(bpy.types.Menu, bpy_types._GenericUI):
283
69
  bl_idname: typing.Any
284
70
  bl_label: typing.Any
285
71
  bl_rna: typing.Any
286
72
  id_data: typing.Any
287
73
 
288
- def append(self, draw_func):
289
- """Append a draw function to this menu,
290
- takes the same arguments as the menus draw function
291
-
292
- :param draw_func:
293
- """
294
- ...
295
-
296
- def as_pointer(self) -> int:
297
- """Returns the memory address which holds a pointer to Blender's internal data
298
-
299
- :return: int (memory address).
300
- :rtype: int
301
- """
302
- ...
303
-
304
74
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
305
75
  """
306
76
 
@@ -324,255 +94,128 @@ class NODE_MT_category_texture_converter(bpy_types._GenericUI):
324
94
  """
325
95
  ...
326
96
 
327
- def draw_collapsible(self, context, layout):
328
- """
329
-
330
- :param context:
331
- :param layout:
332
- """
333
- ...
334
-
335
- def draw_preset(self, _context):
336
- """Define these on the subclass:
337
- - preset_operator (string)
338
- - preset_subdir (string)Optionally:
339
- - preset_add_operator (string)
340
- - preset_extensions (set of strings)
341
- - preset_operator_defaults (dict of keyword args)
97
+ class NODE_MT_category_texture_group(bpy.types.Menu, bpy_types._GenericUI):
98
+ bl_idname: typing.Any
99
+ bl_label: typing.Any
100
+ bl_rna: typing.Any
101
+ id_data: typing.Any
342
102
 
343
- :param _context:
103
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
344
104
  """
345
- ...
346
105
 
347
- def driver_add(self) -> bpy.types.FCurve:
348
- """Adds driver(s) to the given property
349
-
350
- :return: The driver(s) added.
351
- :rtype: bpy.types.FCurve
106
+ :return: The RNA type or default when not found.
107
+ :rtype: bpy.types.Struct
352
108
  """
353
109
  ...
354
110
 
355
- def driver_remove(self) -> bool:
356
- """Remove driver(s) from the given property
357
-
358
- :return: Success of driver removal.
359
- :rtype: bool
111
+ def bl_rna_get_subclass_py(self) -> typing.Any:
360
112
  """
361
- ...
362
-
363
- def get(self):
364
- """Returns the value of the custom property assigned to key or default
365
- when not found (matches Python's dictionary function of the same name).
366
113
 
114
+ :return: The class or default when not found.
115
+ :rtype: typing.Any
367
116
  """
368
117
  ...
369
118
 
370
- def id_properties_clear(self):
119
+ def draw(self, context):
371
120
  """
372
121
 
373
- :return: Remove the parent group for an RNA struct's custom IDProperties.
122
+ :param context:
374
123
  """
375
124
  ...
376
125
 
377
- def id_properties_ensure(self):
378
- """
379
-
380
- :return: the parent group for an RNA struct's custom IDProperties.
381
- """
382
- ...
126
+ class NODE_MT_category_texture_input(bpy.types.Menu, bpy_types._GenericUI):
127
+ bl_idname: typing.Any
128
+ bl_label: typing.Any
129
+ bl_rna: typing.Any
130
+ id_data: typing.Any
383
131
 
384
- def id_properties_ui(self):
132
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
385
133
  """
386
134
 
387
- :return: Return an object used to manage an IDProperty's UI data.
135
+ :return: The RNA type or default when not found.
136
+ :rtype: bpy.types.Struct
388
137
  """
389
138
  ...
390
139
 
391
- def is_extended(self): ...
392
- def is_property_hidden(self) -> bool:
393
- """Check if a property is hidden.
394
-
395
- :return: True when the property is hidden.
396
- :rtype: bool
140
+ def bl_rna_get_subclass_py(self) -> typing.Any:
397
141
  """
398
- ...
399
-
400
- def is_property_overridable_library(self) -> bool:
401
- """Check if a property is overridable.
402
142
 
403
- :return: True when the property is overridable.
404
- :rtype: bool
143
+ :return: The class or default when not found.
144
+ :rtype: typing.Any
405
145
  """
406
146
  ...
407
147
 
408
- def is_property_readonly(self) -> bool:
409
- """Check if a property is readonly.
410
-
411
- :return: True when the property is readonly (not writable).
412
- :rtype: bool
148
+ def draw(self, _context):
413
149
  """
414
- ...
415
-
416
- def is_property_set(self) -> bool:
417
- """Check if a property is set, use for testing operator properties.
418
150
 
419
- :return: True when the property has been set.
420
- :rtype: bool
151
+ :param _context:
421
152
  """
422
153
  ...
423
154
 
424
- def items(self):
425
- """Returns the items of this objects custom properties (matches Python's
426
- dictionary function of the same name).
155
+ class NODE_MT_category_texture_output(bpy.types.Menu, bpy_types._GenericUI):
156
+ bl_idname: typing.Any
157
+ bl_label: typing.Any
158
+ bl_rna: typing.Any
159
+ id_data: typing.Any
427
160
 
428
- :return: custom property key, value pairs.
161
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
429
162
  """
430
- ...
431
-
432
- def keyframe_delete(self) -> bool:
433
- """Remove a keyframe from this properties fcurve.
434
163
 
435
- :return: Success of keyframe deletion.
436
- :rtype: bool
164
+ :return: The RNA type or default when not found.
165
+ :rtype: bpy.types.Struct
437
166
  """
438
167
  ...
439
168
 
440
- def keyframe_insert(self) -> bool:
441
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
442
-
443
- :return: Success of keyframe insertion.
444
- :rtype: bool
169
+ def bl_rna_get_subclass_py(self) -> typing.Any:
445
170
  """
446
- ...
447
-
448
- def keys(self):
449
- """Returns the keys of this objects custom properties (matches Python's
450
- dictionary function of the same name).
451
171
 
452
- :return: custom property keys.
172
+ :return: The class or default when not found.
173
+ :rtype: typing.Any
453
174
  """
454
175
  ...
455
176
 
456
- def path_from_id(self) -> str:
457
- """Returns the data path from the ID to this object (string).
458
-
459
- :return: The path from `bpy.types.bpy_struct.id_data`
460
- to this struct and property (when given).
461
- :rtype: str
177
+ def draw(self, _context):
462
178
  """
463
- ...
464
179
 
465
- def path_menu(
466
- self,
467
- searchpaths: list[str],
468
- operator: str,
469
- *,
470
- props_default: dict = None,
471
- prop_filepath: str | None = "filepath",
472
- filter_ext: collections.abc.Callable | None = None,
473
- filter_path=None,
474
- display_name: collections.abc.Callable | None = None,
475
- add_operator=None,
476
- add_operator_props=None,
477
- ):
478
- """Populate a menu from a list of paths.
479
-
480
- :param searchpaths: Paths to scan.
481
- :type searchpaths: list[str]
482
- :param operator: The operator id to use with each file.
483
- :type operator: str
484
- :param props_default: Properties to assign to each operator.
485
- :type props_default: dict
486
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
487
- :type prop_filepath: str | None
488
- :param filter_ext: Optional callback that takes the file extensions.
489
-
490
- Returning false excludes the file from the list.
491
- :type filter_ext: collections.abc.Callable | None
492
- :param filter_path:
493
- :param display_name: Optional callback that takes the full path, returns the name to display.
494
- :type display_name: collections.abc.Callable | None
495
- :param add_operator:
496
- :param add_operator_props:
180
+ :param _context:
497
181
  """
498
182
  ...
499
183
 
500
- def path_resolve(self):
501
- """Returns the property from the path, raise an exception when not found."""
502
- ...
503
-
504
- def pop(self):
505
- """Remove and return the value of the custom property assigned to key or default
506
- when not found (matches Python's dictionary function of the same name).
184
+ class NODE_MT_category_texture_pattern(bpy.types.Menu, bpy_types._GenericUI):
185
+ bl_idname: typing.Any
186
+ bl_label: typing.Any
187
+ bl_rna: typing.Any
188
+ id_data: typing.Any
507
189
 
190
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
508
191
  """
509
- ...
510
192
 
511
- def prepend(self, draw_func):
512
- """Prepend a draw function to this menu, takes the same arguments as
513
- the menus draw function
514
-
515
- :param draw_func:
193
+ :return: The RNA type or default when not found.
194
+ :rtype: bpy.types.Struct
516
195
  """
517
196
  ...
518
197
 
519
- def property_overridable_library_set(self) -> bool:
520
- """Define a property as overridable or not (only for custom properties!).
521
-
522
- :return: True when the overridable status of the property was successfully set.
523
- :rtype: bool
198
+ def bl_rna_get_subclass_py(self) -> typing.Any:
524
199
  """
525
- ...
526
-
527
- def property_unset(self):
528
- """Unset a property, will use default value afterward."""
529
- ...
530
200
 
531
- def remove(self, draw_func):
532
- """Remove a draw function that has been added to this menu
533
-
534
- :param draw_func:
201
+ :return: The class or default when not found.
202
+ :rtype: typing.Any
535
203
  """
536
204
  ...
537
205
 
538
- def type_recast(self):
539
- """Return a new instance, this is needed because types
540
- such as textures can be changed at runtime.
541
-
542
- :return: a new instance of this object with the type initialized again.
206
+ def draw(self, _context):
543
207
  """
544
- ...
545
208
 
546
- def values(self):
547
- """Returns the values of this objects custom properties (matches Python's
548
- dictionary function of the same name).
549
-
550
- :return: custom property values.
209
+ :param _context:
551
210
  """
552
211
  ...
553
212
 
554
- class NODE_MT_category_texture_distort(bpy_types._GenericUI):
213
+ class NODE_MT_category_texture_texture(bpy.types.Menu, bpy_types._GenericUI):
555
214
  bl_idname: typing.Any
556
215
  bl_label: typing.Any
557
216
  bl_rna: typing.Any
558
217
  id_data: typing.Any
559
218
 
560
- def append(self, draw_func):
561
- """Append a draw function to this menu,
562
- takes the same arguments as the menus draw function
563
-
564
- :param draw_func:
565
- """
566
- ...
567
-
568
- def as_pointer(self) -> int:
569
- """Returns the memory address which holds a pointer to Blender's internal data
570
-
571
- :return: int (memory address).
572
- :rtype: int
573
- """
574
- ...
575
-
576
219
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
577
220
  """
578
221
 
@@ -596,1862 +239,32 @@ class NODE_MT_category_texture_distort(bpy_types._GenericUI):
596
239
  """
597
240
  ...
598
241
 
599
- def draw_collapsible(self, context, layout):
600
- """
601
-
602
- :param context:
603
- :param layout:
604
- """
605
- ...
606
-
607
- def draw_preset(self, _context):
608
- """Define these on the subclass:
609
- - preset_operator (string)
610
- - preset_subdir (string)Optionally:
611
- - preset_add_operator (string)
612
- - preset_extensions (set of strings)
613
- - preset_operator_defaults (dict of keyword args)
614
-
615
- :param _context:
616
- """
617
- ...
618
-
619
- def driver_add(self) -> bpy.types.FCurve:
620
- """Adds driver(s) to the given property
621
-
622
- :return: The driver(s) added.
623
- :rtype: bpy.types.FCurve
624
- """
625
- ...
626
-
627
- def driver_remove(self) -> bool:
628
- """Remove driver(s) from the given property
629
-
630
- :return: Success of driver removal.
631
- :rtype: bool
632
- """
633
- ...
634
-
635
- def get(self):
636
- """Returns the value of the custom property assigned to key or default
637
- when not found (matches Python's dictionary function of the same name).
638
-
639
- """
640
- ...
641
-
642
- def id_properties_clear(self):
643
- """
644
-
645
- :return: Remove the parent group for an RNA struct's custom IDProperties.
646
- """
647
- ...
242
+ class NODE_MT_texture_node_add_all(bpy.types.Menu, bpy_types._GenericUI):
243
+ bl_idname: typing.Any
244
+ bl_label: typing.Any
245
+ bl_rna: typing.Any
246
+ bl_translation_context: typing.Any
247
+ id_data: typing.Any
648
248
 
649
- def id_properties_ensure(self):
249
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
650
250
  """
651
251
 
652
- :return: the parent group for an RNA struct's custom IDProperties.
252
+ :return: The RNA type or default when not found.
253
+ :rtype: bpy.types.Struct
653
254
  """
654
255
  ...
655
256
 
656
- def id_properties_ui(self):
657
- """
658
-
659
- :return: Return an object used to manage an IDProperty's UI data.
257
+ def bl_rna_get_subclass_py(self) -> typing.Any:
660
258
  """
661
- ...
662
259
 
663
- def is_extended(self): ...
664
- def is_property_hidden(self) -> bool:
665
- """Check if a property is hidden.
666
-
667
- :return: True when the property is hidden.
668
- :rtype: bool
260
+ :return: The class or default when not found.
261
+ :rtype: typing.Any
669
262
  """
670
263
  ...
671
264
 
672
- def is_property_overridable_library(self) -> bool:
673
- """Check if a property is overridable.
674
-
675
- :return: True when the property is overridable.
676
- :rtype: bool
677
- """
678
- ...
679
-
680
- def is_property_readonly(self) -> bool:
681
- """Check if a property is readonly.
682
-
683
- :return: True when the property is readonly (not writable).
684
- :rtype: bool
685
- """
686
- ...
687
-
688
- def is_property_set(self) -> bool:
689
- """Check if a property is set, use for testing operator properties.
690
-
691
- :return: True when the property has been set.
692
- :rtype: bool
693
- """
694
- ...
695
-
696
- def items(self):
697
- """Returns the items of this objects custom properties (matches Python's
698
- dictionary function of the same name).
699
-
700
- :return: custom property key, value pairs.
701
- """
702
- ...
703
-
704
- def keyframe_delete(self) -> bool:
705
- """Remove a keyframe from this properties fcurve.
706
-
707
- :return: Success of keyframe deletion.
708
- :rtype: bool
709
- """
710
- ...
711
-
712
- def keyframe_insert(self) -> bool:
713
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
714
-
715
- :return: Success of keyframe insertion.
716
- :rtype: bool
717
- """
718
- ...
719
-
720
- def keys(self):
721
- """Returns the keys of this objects custom properties (matches Python's
722
- dictionary function of the same name).
723
-
724
- :return: custom property keys.
725
- """
726
- ...
727
-
728
- def path_from_id(self) -> str:
729
- """Returns the data path from the ID to this object (string).
730
-
731
- :return: The path from `bpy.types.bpy_struct.id_data`
732
- to this struct and property (when given).
733
- :rtype: str
734
- """
735
- ...
736
-
737
- def path_menu(
738
- self,
739
- searchpaths: list[str],
740
- operator: str,
741
- *,
742
- props_default: dict = None,
743
- prop_filepath: str | None = "filepath",
744
- filter_ext: collections.abc.Callable | None = None,
745
- filter_path=None,
746
- display_name: collections.abc.Callable | None = None,
747
- add_operator=None,
748
- add_operator_props=None,
749
- ):
750
- """Populate a menu from a list of paths.
751
-
752
- :param searchpaths: Paths to scan.
753
- :type searchpaths: list[str]
754
- :param operator: The operator id to use with each file.
755
- :type operator: str
756
- :param props_default: Properties to assign to each operator.
757
- :type props_default: dict
758
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
759
- :type prop_filepath: str | None
760
- :param filter_ext: Optional callback that takes the file extensions.
761
-
762
- Returning false excludes the file from the list.
763
- :type filter_ext: collections.abc.Callable | None
764
- :param filter_path:
765
- :param display_name: Optional callback that takes the full path, returns the name to display.
766
- :type display_name: collections.abc.Callable | None
767
- :param add_operator:
768
- :param add_operator_props:
769
- """
770
- ...
771
-
772
- def path_resolve(self):
773
- """Returns the property from the path, raise an exception when not found."""
774
- ...
775
-
776
- def pop(self):
777
- """Remove and return the value of the custom property assigned to key or default
778
- when not found (matches Python's dictionary function of the same name).
779
-
780
- """
781
- ...
782
-
783
- def prepend(self, draw_func):
784
- """Prepend a draw function to this menu, takes the same arguments as
785
- the menus draw function
786
-
787
- :param draw_func:
788
- """
789
- ...
790
-
791
- def property_overridable_library_set(self) -> bool:
792
- """Define a property as overridable or not (only for custom properties!).
793
-
794
- :return: True when the overridable status of the property was successfully set.
795
- :rtype: bool
796
- """
797
- ...
798
-
799
- def property_unset(self):
800
- """Unset a property, will use default value afterward."""
801
- ...
802
-
803
- def remove(self, draw_func):
804
- """Remove a draw function that has been added to this menu
805
-
806
- :param draw_func:
807
- """
808
- ...
809
-
810
- def type_recast(self):
811
- """Return a new instance, this is needed because types
812
- such as textures can be changed at runtime.
813
-
814
- :return: a new instance of this object with the type initialized again.
815
- """
816
- ...
817
-
818
- def values(self):
819
- """Returns the values of this objects custom properties (matches Python's
820
- dictionary function of the same name).
821
-
822
- :return: custom property values.
823
- """
824
- ...
825
-
826
- class NODE_MT_category_texture_group(bpy_types._GenericUI):
827
- bl_idname: typing.Any
828
- bl_label: typing.Any
829
- bl_rna: typing.Any
830
- id_data: typing.Any
831
-
832
- def append(self, draw_func):
833
- """Append a draw function to this menu,
834
- takes the same arguments as the menus draw function
835
-
836
- :param draw_func:
837
- """
838
- ...
839
-
840
- def as_pointer(self) -> int:
841
- """Returns the memory address which holds a pointer to Blender's internal data
842
-
843
- :return: int (memory address).
844
- :rtype: int
845
- """
846
- ...
847
-
848
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
849
- """
850
-
851
- :return: The RNA type or default when not found.
852
- :rtype: bpy.types.Struct
853
- """
854
- ...
855
-
856
- def bl_rna_get_subclass_py(self) -> typing.Any:
857
- """
858
-
859
- :return: The class or default when not found.
860
- :rtype: typing.Any
861
- """
862
- ...
863
-
864
- def draw(self, context):
865
- """
866
-
867
- :param context:
868
- """
869
- ...
870
-
871
- def draw_collapsible(self, context, layout):
872
- """
873
-
874
- :param context:
875
- :param layout:
876
- """
877
- ...
878
-
879
- def draw_preset(self, _context):
880
- """Define these on the subclass:
881
- - preset_operator (string)
882
- - preset_subdir (string)Optionally:
883
- - preset_add_operator (string)
884
- - preset_extensions (set of strings)
885
- - preset_operator_defaults (dict of keyword args)
886
-
887
- :param _context:
888
- """
889
- ...
890
-
891
- def driver_add(self) -> bpy.types.FCurve:
892
- """Adds driver(s) to the given property
893
-
894
- :return: The driver(s) added.
895
- :rtype: bpy.types.FCurve
896
- """
897
- ...
898
-
899
- def driver_remove(self) -> bool:
900
- """Remove driver(s) from the given property
901
-
902
- :return: Success of driver removal.
903
- :rtype: bool
904
- """
905
- ...
906
-
907
- def get(self):
908
- """Returns the value of the custom property assigned to key or default
909
- when not found (matches Python's dictionary function of the same name).
910
-
911
- """
912
- ...
913
-
914
- def id_properties_clear(self):
915
- """
916
-
917
- :return: Remove the parent group for an RNA struct's custom IDProperties.
918
- """
919
- ...
920
-
921
- def id_properties_ensure(self):
922
- """
923
-
924
- :return: the parent group for an RNA struct's custom IDProperties.
925
- """
926
- ...
927
-
928
- def id_properties_ui(self):
929
- """
930
-
931
- :return: Return an object used to manage an IDProperty's UI data.
932
- """
933
- ...
934
-
935
- def is_extended(self): ...
936
- def is_property_hidden(self) -> bool:
937
- """Check if a property is hidden.
938
-
939
- :return: True when the property is hidden.
940
- :rtype: bool
941
- """
942
- ...
943
-
944
- def is_property_overridable_library(self) -> bool:
945
- """Check if a property is overridable.
946
-
947
- :return: True when the property is overridable.
948
- :rtype: bool
949
- """
950
- ...
951
-
952
- def is_property_readonly(self) -> bool:
953
- """Check if a property is readonly.
954
-
955
- :return: True when the property is readonly (not writable).
956
- :rtype: bool
957
- """
958
- ...
959
-
960
- def is_property_set(self) -> bool:
961
- """Check if a property is set, use for testing operator properties.
962
-
963
- :return: True when the property has been set.
964
- :rtype: bool
965
- """
966
- ...
967
-
968
- def items(self):
969
- """Returns the items of this objects custom properties (matches Python's
970
- dictionary function of the same name).
971
-
972
- :return: custom property key, value pairs.
973
- """
974
- ...
975
-
976
- def keyframe_delete(self) -> bool:
977
- """Remove a keyframe from this properties fcurve.
978
-
979
- :return: Success of keyframe deletion.
980
- :rtype: bool
981
- """
982
- ...
983
-
984
- def keyframe_insert(self) -> bool:
985
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
986
-
987
- :return: Success of keyframe insertion.
988
- :rtype: bool
989
- """
990
- ...
991
-
992
- def keys(self):
993
- """Returns the keys of this objects custom properties (matches Python's
994
- dictionary function of the same name).
995
-
996
- :return: custom property keys.
997
- """
998
- ...
999
-
1000
- def path_from_id(self) -> str:
1001
- """Returns the data path from the ID to this object (string).
1002
-
1003
- :return: The path from `bpy.types.bpy_struct.id_data`
1004
- to this struct and property (when given).
1005
- :rtype: str
1006
- """
1007
- ...
1008
-
1009
- def path_menu(
1010
- self,
1011
- searchpaths: list[str],
1012
- operator: str,
1013
- *,
1014
- props_default: dict = None,
1015
- prop_filepath: str | None = "filepath",
1016
- filter_ext: collections.abc.Callable | None = None,
1017
- filter_path=None,
1018
- display_name: collections.abc.Callable | None = None,
1019
- add_operator=None,
1020
- add_operator_props=None,
1021
- ):
1022
- """Populate a menu from a list of paths.
1023
-
1024
- :param searchpaths: Paths to scan.
1025
- :type searchpaths: list[str]
1026
- :param operator: The operator id to use with each file.
1027
- :type operator: str
1028
- :param props_default: Properties to assign to each operator.
1029
- :type props_default: dict
1030
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
1031
- :type prop_filepath: str | None
1032
- :param filter_ext: Optional callback that takes the file extensions.
1033
-
1034
- Returning false excludes the file from the list.
1035
- :type filter_ext: collections.abc.Callable | None
1036
- :param filter_path:
1037
- :param display_name: Optional callback that takes the full path, returns the name to display.
1038
- :type display_name: collections.abc.Callable | None
1039
- :param add_operator:
1040
- :param add_operator_props:
1041
- """
1042
- ...
1043
-
1044
- def path_resolve(self):
1045
- """Returns the property from the path, raise an exception when not found."""
1046
- ...
1047
-
1048
- def pop(self):
1049
- """Remove and return the value of the custom property assigned to key or default
1050
- when not found (matches Python's dictionary function of the same name).
1051
-
1052
- """
1053
- ...
1054
-
1055
- def prepend(self, draw_func):
1056
- """Prepend a draw function to this menu, takes the same arguments as
1057
- the menus draw function
1058
-
1059
- :param draw_func:
1060
- """
1061
- ...
1062
-
1063
- def property_overridable_library_set(self) -> bool:
1064
- """Define a property as overridable or not (only for custom properties!).
1065
-
1066
- :return: True when the overridable status of the property was successfully set.
1067
- :rtype: bool
1068
- """
1069
- ...
1070
-
1071
- def property_unset(self):
1072
- """Unset a property, will use default value afterward."""
1073
- ...
1074
-
1075
- def remove(self, draw_func):
1076
- """Remove a draw function that has been added to this menu
1077
-
1078
- :param draw_func:
1079
- """
1080
- ...
1081
-
1082
- def type_recast(self):
1083
- """Return a new instance, this is needed because types
1084
- such as textures can be changed at runtime.
1085
-
1086
- :return: a new instance of this object with the type initialized again.
1087
- """
1088
- ...
1089
-
1090
- def values(self):
1091
- """Returns the values of this objects custom properties (matches Python's
1092
- dictionary function of the same name).
1093
-
1094
- :return: custom property values.
1095
- """
1096
- ...
1097
-
1098
- class NODE_MT_category_texture_input(bpy_types._GenericUI):
1099
- bl_idname: typing.Any
1100
- bl_label: typing.Any
1101
- bl_rna: typing.Any
1102
- id_data: typing.Any
1103
-
1104
- def append(self, draw_func):
1105
- """Append a draw function to this menu,
1106
- takes the same arguments as the menus draw function
1107
-
1108
- :param draw_func:
1109
- """
1110
- ...
1111
-
1112
- def as_pointer(self) -> int:
1113
- """Returns the memory address which holds a pointer to Blender's internal data
1114
-
1115
- :return: int (memory address).
1116
- :rtype: int
1117
- """
1118
- ...
1119
-
1120
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
1121
- """
1122
-
1123
- :return: The RNA type or default when not found.
1124
- :rtype: bpy.types.Struct
1125
- """
1126
- ...
1127
-
1128
- def bl_rna_get_subclass_py(self) -> typing.Any:
1129
- """
1130
-
1131
- :return: The class or default when not found.
1132
- :rtype: typing.Any
1133
- """
1134
- ...
1135
-
1136
- def draw(self, _context):
1137
- """
1138
-
1139
- :param _context:
1140
- """
1141
- ...
1142
-
1143
- def draw_collapsible(self, context, layout):
1144
- """
1145
-
1146
- :param context:
1147
- :param layout:
1148
- """
1149
- ...
1150
-
1151
- def draw_preset(self, _context):
1152
- """Define these on the subclass:
1153
- - preset_operator (string)
1154
- - preset_subdir (string)Optionally:
1155
- - preset_add_operator (string)
1156
- - preset_extensions (set of strings)
1157
- - preset_operator_defaults (dict of keyword args)
1158
-
1159
- :param _context:
1160
- """
1161
- ...
1162
-
1163
- def driver_add(self) -> bpy.types.FCurve:
1164
- """Adds driver(s) to the given property
1165
-
1166
- :return: The driver(s) added.
1167
- :rtype: bpy.types.FCurve
1168
- """
1169
- ...
1170
-
1171
- def driver_remove(self) -> bool:
1172
- """Remove driver(s) from the given property
1173
-
1174
- :return: Success of driver removal.
1175
- :rtype: bool
1176
- """
1177
- ...
1178
-
1179
- def get(self):
1180
- """Returns the value of the custom property assigned to key or default
1181
- when not found (matches Python's dictionary function of the same name).
1182
-
1183
- """
1184
- ...
1185
-
1186
- def id_properties_clear(self):
1187
- """
1188
-
1189
- :return: Remove the parent group for an RNA struct's custom IDProperties.
1190
- """
1191
- ...
1192
-
1193
- def id_properties_ensure(self):
1194
- """
1195
-
1196
- :return: the parent group for an RNA struct's custom IDProperties.
1197
- """
1198
- ...
1199
-
1200
- def id_properties_ui(self):
1201
- """
1202
-
1203
- :return: Return an object used to manage an IDProperty's UI data.
1204
- """
1205
- ...
1206
-
1207
- def is_extended(self): ...
1208
- def is_property_hidden(self) -> bool:
1209
- """Check if a property is hidden.
1210
-
1211
- :return: True when the property is hidden.
1212
- :rtype: bool
1213
- """
1214
- ...
1215
-
1216
- def is_property_overridable_library(self) -> bool:
1217
- """Check if a property is overridable.
1218
-
1219
- :return: True when the property is overridable.
1220
- :rtype: bool
1221
- """
1222
- ...
1223
-
1224
- def is_property_readonly(self) -> bool:
1225
- """Check if a property is readonly.
1226
-
1227
- :return: True when the property is readonly (not writable).
1228
- :rtype: bool
1229
- """
1230
- ...
1231
-
1232
- def is_property_set(self) -> bool:
1233
- """Check if a property is set, use for testing operator properties.
1234
-
1235
- :return: True when the property has been set.
1236
- :rtype: bool
1237
- """
1238
- ...
1239
-
1240
- def items(self):
1241
- """Returns the items of this objects custom properties (matches Python's
1242
- dictionary function of the same name).
1243
-
1244
- :return: custom property key, value pairs.
1245
- """
1246
- ...
1247
-
1248
- def keyframe_delete(self) -> bool:
1249
- """Remove a keyframe from this properties fcurve.
1250
-
1251
- :return: Success of keyframe deletion.
1252
- :rtype: bool
1253
- """
1254
- ...
1255
-
1256
- def keyframe_insert(self) -> bool:
1257
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
1258
-
1259
- :return: Success of keyframe insertion.
1260
- :rtype: bool
1261
- """
1262
- ...
1263
-
1264
- def keys(self):
1265
- """Returns the keys of this objects custom properties (matches Python's
1266
- dictionary function of the same name).
1267
-
1268
- :return: custom property keys.
1269
- """
1270
- ...
1271
-
1272
- def path_from_id(self) -> str:
1273
- """Returns the data path from the ID to this object (string).
1274
-
1275
- :return: The path from `bpy.types.bpy_struct.id_data`
1276
- to this struct and property (when given).
1277
- :rtype: str
1278
- """
1279
- ...
1280
-
1281
- def path_menu(
1282
- self,
1283
- searchpaths: list[str],
1284
- operator: str,
1285
- *,
1286
- props_default: dict = None,
1287
- prop_filepath: str | None = "filepath",
1288
- filter_ext: collections.abc.Callable | None = None,
1289
- filter_path=None,
1290
- display_name: collections.abc.Callable | None = None,
1291
- add_operator=None,
1292
- add_operator_props=None,
1293
- ):
1294
- """Populate a menu from a list of paths.
1295
-
1296
- :param searchpaths: Paths to scan.
1297
- :type searchpaths: list[str]
1298
- :param operator: The operator id to use with each file.
1299
- :type operator: str
1300
- :param props_default: Properties to assign to each operator.
1301
- :type props_default: dict
1302
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
1303
- :type prop_filepath: str | None
1304
- :param filter_ext: Optional callback that takes the file extensions.
1305
-
1306
- Returning false excludes the file from the list.
1307
- :type filter_ext: collections.abc.Callable | None
1308
- :param filter_path:
1309
- :param display_name: Optional callback that takes the full path, returns the name to display.
1310
- :type display_name: collections.abc.Callable | None
1311
- :param add_operator:
1312
- :param add_operator_props:
1313
- """
1314
- ...
1315
-
1316
- def path_resolve(self):
1317
- """Returns the property from the path, raise an exception when not found."""
1318
- ...
1319
-
1320
- def pop(self):
1321
- """Remove and return the value of the custom property assigned to key or default
1322
- when not found (matches Python's dictionary function of the same name).
1323
-
1324
- """
1325
- ...
1326
-
1327
- def prepend(self, draw_func):
1328
- """Prepend a draw function to this menu, takes the same arguments as
1329
- the menus draw function
1330
-
1331
- :param draw_func:
1332
- """
1333
- ...
1334
-
1335
- def property_overridable_library_set(self) -> bool:
1336
- """Define a property as overridable or not (only for custom properties!).
1337
-
1338
- :return: True when the overridable status of the property was successfully set.
1339
- :rtype: bool
1340
- """
1341
- ...
1342
-
1343
- def property_unset(self):
1344
- """Unset a property, will use default value afterward."""
1345
- ...
1346
-
1347
- def remove(self, draw_func):
1348
- """Remove a draw function that has been added to this menu
1349
-
1350
- :param draw_func:
1351
- """
1352
- ...
1353
-
1354
- def type_recast(self):
1355
- """Return a new instance, this is needed because types
1356
- such as textures can be changed at runtime.
1357
-
1358
- :return: a new instance of this object with the type initialized again.
1359
- """
1360
- ...
1361
-
1362
- def values(self):
1363
- """Returns the values of this objects custom properties (matches Python's
1364
- dictionary function of the same name).
1365
-
1366
- :return: custom property values.
1367
- """
1368
- ...
1369
-
1370
- class NODE_MT_category_texture_output(bpy_types._GenericUI):
1371
- bl_idname: typing.Any
1372
- bl_label: typing.Any
1373
- bl_rna: typing.Any
1374
- id_data: typing.Any
1375
-
1376
- def append(self, draw_func):
1377
- """Append a draw function to this menu,
1378
- takes the same arguments as the menus draw function
1379
-
1380
- :param draw_func:
1381
- """
1382
- ...
1383
-
1384
- def as_pointer(self) -> int:
1385
- """Returns the memory address which holds a pointer to Blender's internal data
1386
-
1387
- :return: int (memory address).
1388
- :rtype: int
1389
- """
1390
- ...
1391
-
1392
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
1393
- """
1394
-
1395
- :return: The RNA type or default when not found.
1396
- :rtype: bpy.types.Struct
1397
- """
1398
- ...
1399
-
1400
- def bl_rna_get_subclass_py(self) -> typing.Any:
1401
- """
1402
-
1403
- :return: The class or default when not found.
1404
- :rtype: typing.Any
1405
- """
1406
- ...
1407
-
1408
- def draw(self, _context):
1409
- """
1410
-
1411
- :param _context:
1412
- """
1413
- ...
1414
-
1415
- def draw_collapsible(self, context, layout):
1416
- """
1417
-
1418
- :param context:
1419
- :param layout:
1420
- """
1421
- ...
1422
-
1423
- def draw_preset(self, _context):
1424
- """Define these on the subclass:
1425
- - preset_operator (string)
1426
- - preset_subdir (string)Optionally:
1427
- - preset_add_operator (string)
1428
- - preset_extensions (set of strings)
1429
- - preset_operator_defaults (dict of keyword args)
1430
-
1431
- :param _context:
1432
- """
1433
- ...
1434
-
1435
- def driver_add(self) -> bpy.types.FCurve:
1436
- """Adds driver(s) to the given property
1437
-
1438
- :return: The driver(s) added.
1439
- :rtype: bpy.types.FCurve
1440
- """
1441
- ...
1442
-
1443
- def driver_remove(self) -> bool:
1444
- """Remove driver(s) from the given property
1445
-
1446
- :return: Success of driver removal.
1447
- :rtype: bool
1448
- """
1449
- ...
1450
-
1451
- def get(self):
1452
- """Returns the value of the custom property assigned to key or default
1453
- when not found (matches Python's dictionary function of the same name).
1454
-
1455
- """
1456
- ...
1457
-
1458
- def id_properties_clear(self):
1459
- """
1460
-
1461
- :return: Remove the parent group for an RNA struct's custom IDProperties.
1462
- """
1463
- ...
1464
-
1465
- def id_properties_ensure(self):
1466
- """
1467
-
1468
- :return: the parent group for an RNA struct's custom IDProperties.
1469
- """
1470
- ...
1471
-
1472
- def id_properties_ui(self):
1473
- """
1474
-
1475
- :return: Return an object used to manage an IDProperty's UI data.
1476
- """
1477
- ...
1478
-
1479
- def is_extended(self): ...
1480
- def is_property_hidden(self) -> bool:
1481
- """Check if a property is hidden.
1482
-
1483
- :return: True when the property is hidden.
1484
- :rtype: bool
1485
- """
1486
- ...
1487
-
1488
- def is_property_overridable_library(self) -> bool:
1489
- """Check if a property is overridable.
1490
-
1491
- :return: True when the property is overridable.
1492
- :rtype: bool
1493
- """
1494
- ...
1495
-
1496
- def is_property_readonly(self) -> bool:
1497
- """Check if a property is readonly.
1498
-
1499
- :return: True when the property is readonly (not writable).
1500
- :rtype: bool
1501
- """
1502
- ...
1503
-
1504
- def is_property_set(self) -> bool:
1505
- """Check if a property is set, use for testing operator properties.
1506
-
1507
- :return: True when the property has been set.
1508
- :rtype: bool
1509
- """
1510
- ...
1511
-
1512
- def items(self):
1513
- """Returns the items of this objects custom properties (matches Python's
1514
- dictionary function of the same name).
1515
-
1516
- :return: custom property key, value pairs.
1517
- """
1518
- ...
1519
-
1520
- def keyframe_delete(self) -> bool:
1521
- """Remove a keyframe from this properties fcurve.
1522
-
1523
- :return: Success of keyframe deletion.
1524
- :rtype: bool
1525
- """
1526
- ...
1527
-
1528
- def keyframe_insert(self) -> bool:
1529
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
1530
-
1531
- :return: Success of keyframe insertion.
1532
- :rtype: bool
1533
- """
1534
- ...
1535
-
1536
- def keys(self):
1537
- """Returns the keys of this objects custom properties (matches Python's
1538
- dictionary function of the same name).
1539
-
1540
- :return: custom property keys.
1541
- """
1542
- ...
1543
-
1544
- def path_from_id(self) -> str:
1545
- """Returns the data path from the ID to this object (string).
1546
-
1547
- :return: The path from `bpy.types.bpy_struct.id_data`
1548
- to this struct and property (when given).
1549
- :rtype: str
1550
- """
1551
- ...
1552
-
1553
- def path_menu(
1554
- self,
1555
- searchpaths: list[str],
1556
- operator: str,
1557
- *,
1558
- props_default: dict = None,
1559
- prop_filepath: str | None = "filepath",
1560
- filter_ext: collections.abc.Callable | None = None,
1561
- filter_path=None,
1562
- display_name: collections.abc.Callable | None = None,
1563
- add_operator=None,
1564
- add_operator_props=None,
1565
- ):
1566
- """Populate a menu from a list of paths.
1567
-
1568
- :param searchpaths: Paths to scan.
1569
- :type searchpaths: list[str]
1570
- :param operator: The operator id to use with each file.
1571
- :type operator: str
1572
- :param props_default: Properties to assign to each operator.
1573
- :type props_default: dict
1574
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
1575
- :type prop_filepath: str | None
1576
- :param filter_ext: Optional callback that takes the file extensions.
1577
-
1578
- Returning false excludes the file from the list.
1579
- :type filter_ext: collections.abc.Callable | None
1580
- :param filter_path:
1581
- :param display_name: Optional callback that takes the full path, returns the name to display.
1582
- :type display_name: collections.abc.Callable | None
1583
- :param add_operator:
1584
- :param add_operator_props:
1585
- """
1586
- ...
1587
-
1588
- def path_resolve(self):
1589
- """Returns the property from the path, raise an exception when not found."""
1590
- ...
1591
-
1592
- def pop(self):
1593
- """Remove and return the value of the custom property assigned to key or default
1594
- when not found (matches Python's dictionary function of the same name).
1595
-
1596
- """
1597
- ...
1598
-
1599
- def prepend(self, draw_func):
1600
- """Prepend a draw function to this menu, takes the same arguments as
1601
- the menus draw function
1602
-
1603
- :param draw_func:
1604
- """
1605
- ...
1606
-
1607
- def property_overridable_library_set(self) -> bool:
1608
- """Define a property as overridable or not (only for custom properties!).
1609
-
1610
- :return: True when the overridable status of the property was successfully set.
1611
- :rtype: bool
1612
- """
1613
- ...
1614
-
1615
- def property_unset(self):
1616
- """Unset a property, will use default value afterward."""
1617
- ...
1618
-
1619
- def remove(self, draw_func):
1620
- """Remove a draw function that has been added to this menu
1621
-
1622
- :param draw_func:
1623
- """
1624
- ...
1625
-
1626
- def type_recast(self):
1627
- """Return a new instance, this is needed because types
1628
- such as textures can be changed at runtime.
1629
-
1630
- :return: a new instance of this object with the type initialized again.
1631
- """
1632
- ...
1633
-
1634
- def values(self):
1635
- """Returns the values of this objects custom properties (matches Python's
1636
- dictionary function of the same name).
1637
-
1638
- :return: custom property values.
1639
- """
1640
- ...
1641
-
1642
- class NODE_MT_category_texture_pattern(bpy_types._GenericUI):
1643
- bl_idname: typing.Any
1644
- bl_label: typing.Any
1645
- bl_rna: typing.Any
1646
- id_data: typing.Any
1647
-
1648
- def append(self, draw_func):
1649
- """Append a draw function to this menu,
1650
- takes the same arguments as the menus draw function
1651
-
1652
- :param draw_func:
1653
- """
1654
- ...
1655
-
1656
- def as_pointer(self) -> int:
1657
- """Returns the memory address which holds a pointer to Blender's internal data
1658
-
1659
- :return: int (memory address).
1660
- :rtype: int
1661
- """
1662
- ...
1663
-
1664
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
1665
- """
1666
-
1667
- :return: The RNA type or default when not found.
1668
- :rtype: bpy.types.Struct
1669
- """
1670
- ...
1671
-
1672
- def bl_rna_get_subclass_py(self) -> typing.Any:
1673
- """
1674
-
1675
- :return: The class or default when not found.
1676
- :rtype: typing.Any
1677
- """
1678
- ...
1679
-
1680
- def draw(self, _context):
1681
- """
1682
-
1683
- :param _context:
1684
- """
1685
- ...
1686
-
1687
- def draw_collapsible(self, context, layout):
1688
- """
1689
-
1690
- :param context:
1691
- :param layout:
1692
- """
1693
- ...
1694
-
1695
- def draw_preset(self, _context):
1696
- """Define these on the subclass:
1697
- - preset_operator (string)
1698
- - preset_subdir (string)Optionally:
1699
- - preset_add_operator (string)
1700
- - preset_extensions (set of strings)
1701
- - preset_operator_defaults (dict of keyword args)
1702
-
1703
- :param _context:
1704
- """
1705
- ...
1706
-
1707
- def driver_add(self) -> bpy.types.FCurve:
1708
- """Adds driver(s) to the given property
1709
-
1710
- :return: The driver(s) added.
1711
- :rtype: bpy.types.FCurve
1712
- """
1713
- ...
1714
-
1715
- def driver_remove(self) -> bool:
1716
- """Remove driver(s) from the given property
1717
-
1718
- :return: Success of driver removal.
1719
- :rtype: bool
1720
- """
1721
- ...
1722
-
1723
- def get(self):
1724
- """Returns the value of the custom property assigned to key or default
1725
- when not found (matches Python's dictionary function of the same name).
1726
-
1727
- """
1728
- ...
1729
-
1730
- def id_properties_clear(self):
1731
- """
1732
-
1733
- :return: Remove the parent group for an RNA struct's custom IDProperties.
1734
- """
1735
- ...
1736
-
1737
- def id_properties_ensure(self):
1738
- """
1739
-
1740
- :return: the parent group for an RNA struct's custom IDProperties.
1741
- """
1742
- ...
1743
-
1744
- def id_properties_ui(self):
1745
- """
1746
-
1747
- :return: Return an object used to manage an IDProperty's UI data.
1748
- """
1749
- ...
1750
-
1751
- def is_extended(self): ...
1752
- def is_property_hidden(self) -> bool:
1753
- """Check if a property is hidden.
1754
-
1755
- :return: True when the property is hidden.
1756
- :rtype: bool
1757
- """
1758
- ...
1759
-
1760
- def is_property_overridable_library(self) -> bool:
1761
- """Check if a property is overridable.
1762
-
1763
- :return: True when the property is overridable.
1764
- :rtype: bool
1765
- """
1766
- ...
1767
-
1768
- def is_property_readonly(self) -> bool:
1769
- """Check if a property is readonly.
1770
-
1771
- :return: True when the property is readonly (not writable).
1772
- :rtype: bool
1773
- """
1774
- ...
1775
-
1776
- def is_property_set(self) -> bool:
1777
- """Check if a property is set, use for testing operator properties.
1778
-
1779
- :return: True when the property has been set.
1780
- :rtype: bool
1781
- """
1782
- ...
1783
-
1784
- def items(self):
1785
- """Returns the items of this objects custom properties (matches Python's
1786
- dictionary function of the same name).
1787
-
1788
- :return: custom property key, value pairs.
1789
- """
1790
- ...
1791
-
1792
- def keyframe_delete(self) -> bool:
1793
- """Remove a keyframe from this properties fcurve.
1794
-
1795
- :return: Success of keyframe deletion.
1796
- :rtype: bool
1797
- """
1798
- ...
1799
-
1800
- def keyframe_insert(self) -> bool:
1801
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
1802
-
1803
- :return: Success of keyframe insertion.
1804
- :rtype: bool
1805
- """
1806
- ...
1807
-
1808
- def keys(self):
1809
- """Returns the keys of this objects custom properties (matches Python's
1810
- dictionary function of the same name).
1811
-
1812
- :return: custom property keys.
1813
- """
1814
- ...
1815
-
1816
- def path_from_id(self) -> str:
1817
- """Returns the data path from the ID to this object (string).
1818
-
1819
- :return: The path from `bpy.types.bpy_struct.id_data`
1820
- to this struct and property (when given).
1821
- :rtype: str
1822
- """
1823
- ...
1824
-
1825
- def path_menu(
1826
- self,
1827
- searchpaths: list[str],
1828
- operator: str,
1829
- *,
1830
- props_default: dict = None,
1831
- prop_filepath: str | None = "filepath",
1832
- filter_ext: collections.abc.Callable | None = None,
1833
- filter_path=None,
1834
- display_name: collections.abc.Callable | None = None,
1835
- add_operator=None,
1836
- add_operator_props=None,
1837
- ):
1838
- """Populate a menu from a list of paths.
1839
-
1840
- :param searchpaths: Paths to scan.
1841
- :type searchpaths: list[str]
1842
- :param operator: The operator id to use with each file.
1843
- :type operator: str
1844
- :param props_default: Properties to assign to each operator.
1845
- :type props_default: dict
1846
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
1847
- :type prop_filepath: str | None
1848
- :param filter_ext: Optional callback that takes the file extensions.
1849
-
1850
- Returning false excludes the file from the list.
1851
- :type filter_ext: collections.abc.Callable | None
1852
- :param filter_path:
1853
- :param display_name: Optional callback that takes the full path, returns the name to display.
1854
- :type display_name: collections.abc.Callable | None
1855
- :param add_operator:
1856
- :param add_operator_props:
1857
- """
1858
- ...
1859
-
1860
- def path_resolve(self):
1861
- """Returns the property from the path, raise an exception when not found."""
1862
- ...
1863
-
1864
- def pop(self):
1865
- """Remove and return the value of the custom property assigned to key or default
1866
- when not found (matches Python's dictionary function of the same name).
1867
-
1868
- """
1869
- ...
1870
-
1871
- def prepend(self, draw_func):
1872
- """Prepend a draw function to this menu, takes the same arguments as
1873
- the menus draw function
1874
-
1875
- :param draw_func:
1876
- """
1877
- ...
1878
-
1879
- def property_overridable_library_set(self) -> bool:
1880
- """Define a property as overridable or not (only for custom properties!).
1881
-
1882
- :return: True when the overridable status of the property was successfully set.
1883
- :rtype: bool
1884
- """
1885
- ...
1886
-
1887
- def property_unset(self):
1888
- """Unset a property, will use default value afterward."""
1889
- ...
1890
-
1891
- def remove(self, draw_func):
1892
- """Remove a draw function that has been added to this menu
1893
-
1894
- :param draw_func:
1895
- """
1896
- ...
1897
-
1898
- def type_recast(self):
1899
- """Return a new instance, this is needed because types
1900
- such as textures can be changed at runtime.
1901
-
1902
- :return: a new instance of this object with the type initialized again.
1903
- """
1904
- ...
1905
-
1906
- def values(self):
1907
- """Returns the values of this objects custom properties (matches Python's
1908
- dictionary function of the same name).
1909
-
1910
- :return: custom property values.
1911
- """
1912
- ...
1913
-
1914
- class NODE_MT_category_texture_texture(bpy_types._GenericUI):
1915
- bl_idname: typing.Any
1916
- bl_label: typing.Any
1917
- bl_rna: typing.Any
1918
- id_data: typing.Any
1919
-
1920
- def append(self, draw_func):
1921
- """Append a draw function to this menu,
1922
- takes the same arguments as the menus draw function
1923
-
1924
- :param draw_func:
1925
- """
1926
- ...
1927
-
1928
- def as_pointer(self) -> int:
1929
- """Returns the memory address which holds a pointer to Blender's internal data
1930
-
1931
- :return: int (memory address).
1932
- :rtype: int
1933
- """
1934
- ...
1935
-
1936
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
1937
- """
1938
-
1939
- :return: The RNA type or default when not found.
1940
- :rtype: bpy.types.Struct
1941
- """
1942
- ...
1943
-
1944
- def bl_rna_get_subclass_py(self) -> typing.Any:
1945
- """
1946
-
1947
- :return: The class or default when not found.
1948
- :rtype: typing.Any
1949
- """
1950
- ...
1951
-
1952
- def draw(self, _context):
1953
- """
1954
-
1955
- :param _context:
1956
- """
1957
- ...
1958
-
1959
- def draw_collapsible(self, context, layout):
1960
- """
1961
-
1962
- :param context:
1963
- :param layout:
1964
- """
1965
- ...
1966
-
1967
- def draw_preset(self, _context):
1968
- """Define these on the subclass:
1969
- - preset_operator (string)
1970
- - preset_subdir (string)Optionally:
1971
- - preset_add_operator (string)
1972
- - preset_extensions (set of strings)
1973
- - preset_operator_defaults (dict of keyword args)
1974
-
1975
- :param _context:
1976
- """
1977
- ...
1978
-
1979
- def driver_add(self) -> bpy.types.FCurve:
1980
- """Adds driver(s) to the given property
1981
-
1982
- :return: The driver(s) added.
1983
- :rtype: bpy.types.FCurve
1984
- """
1985
- ...
1986
-
1987
- def driver_remove(self) -> bool:
1988
- """Remove driver(s) from the given property
1989
-
1990
- :return: Success of driver removal.
1991
- :rtype: bool
1992
- """
1993
- ...
1994
-
1995
- def get(self):
1996
- """Returns the value of the custom property assigned to key or default
1997
- when not found (matches Python's dictionary function of the same name).
1998
-
1999
- """
2000
- ...
2001
-
2002
- def id_properties_clear(self):
2003
- """
2004
-
2005
- :return: Remove the parent group for an RNA struct's custom IDProperties.
2006
- """
2007
- ...
2008
-
2009
- def id_properties_ensure(self):
2010
- """
2011
-
2012
- :return: the parent group for an RNA struct's custom IDProperties.
2013
- """
2014
- ...
2015
-
2016
- def id_properties_ui(self):
2017
- """
2018
-
2019
- :return: Return an object used to manage an IDProperty's UI data.
2020
- """
2021
- ...
2022
-
2023
- def is_extended(self): ...
2024
- def is_property_hidden(self) -> bool:
2025
- """Check if a property is hidden.
2026
-
2027
- :return: True when the property is hidden.
2028
- :rtype: bool
2029
- """
2030
- ...
2031
-
2032
- def is_property_overridable_library(self) -> bool:
2033
- """Check if a property is overridable.
2034
-
2035
- :return: True when the property is overridable.
2036
- :rtype: bool
2037
- """
2038
- ...
2039
-
2040
- def is_property_readonly(self) -> bool:
2041
- """Check if a property is readonly.
2042
-
2043
- :return: True when the property is readonly (not writable).
2044
- :rtype: bool
2045
- """
2046
- ...
2047
-
2048
- def is_property_set(self) -> bool:
2049
- """Check if a property is set, use for testing operator properties.
2050
-
2051
- :return: True when the property has been set.
2052
- :rtype: bool
2053
- """
2054
- ...
2055
-
2056
- def items(self):
2057
- """Returns the items of this objects custom properties (matches Python's
2058
- dictionary function of the same name).
2059
-
2060
- :return: custom property key, value pairs.
2061
- """
2062
- ...
2063
-
2064
- def keyframe_delete(self) -> bool:
2065
- """Remove a keyframe from this properties fcurve.
2066
-
2067
- :return: Success of keyframe deletion.
2068
- :rtype: bool
2069
- """
2070
- ...
2071
-
2072
- def keyframe_insert(self) -> bool:
2073
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
2074
-
2075
- :return: Success of keyframe insertion.
2076
- :rtype: bool
2077
- """
2078
- ...
2079
-
2080
- def keys(self):
2081
- """Returns the keys of this objects custom properties (matches Python's
2082
- dictionary function of the same name).
2083
-
2084
- :return: custom property keys.
2085
- """
2086
- ...
2087
-
2088
- def path_from_id(self) -> str:
2089
- """Returns the data path from the ID to this object (string).
2090
-
2091
- :return: The path from `bpy.types.bpy_struct.id_data`
2092
- to this struct and property (when given).
2093
- :rtype: str
2094
- """
2095
- ...
2096
-
2097
- def path_menu(
2098
- self,
2099
- searchpaths: list[str],
2100
- operator: str,
2101
- *,
2102
- props_default: dict = None,
2103
- prop_filepath: str | None = "filepath",
2104
- filter_ext: collections.abc.Callable | None = None,
2105
- filter_path=None,
2106
- display_name: collections.abc.Callable | None = None,
2107
- add_operator=None,
2108
- add_operator_props=None,
2109
- ):
2110
- """Populate a menu from a list of paths.
2111
-
2112
- :param searchpaths: Paths to scan.
2113
- :type searchpaths: list[str]
2114
- :param operator: The operator id to use with each file.
2115
- :type operator: str
2116
- :param props_default: Properties to assign to each operator.
2117
- :type props_default: dict
2118
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
2119
- :type prop_filepath: str | None
2120
- :param filter_ext: Optional callback that takes the file extensions.
2121
-
2122
- Returning false excludes the file from the list.
2123
- :type filter_ext: collections.abc.Callable | None
2124
- :param filter_path:
2125
- :param display_name: Optional callback that takes the full path, returns the name to display.
2126
- :type display_name: collections.abc.Callable | None
2127
- :param add_operator:
2128
- :param add_operator_props:
2129
- """
2130
- ...
2131
-
2132
- def path_resolve(self):
2133
- """Returns the property from the path, raise an exception when not found."""
2134
- ...
2135
-
2136
- def pop(self):
2137
- """Remove and return the value of the custom property assigned to key or default
2138
- when not found (matches Python's dictionary function of the same name).
2139
-
2140
- """
2141
- ...
2142
-
2143
- def prepend(self, draw_func):
2144
- """Prepend a draw function to this menu, takes the same arguments as
2145
- the menus draw function
2146
-
2147
- :param draw_func:
2148
- """
2149
- ...
2150
-
2151
- def property_overridable_library_set(self) -> bool:
2152
- """Define a property as overridable or not (only for custom properties!).
2153
-
2154
- :return: True when the overridable status of the property was successfully set.
2155
- :rtype: bool
2156
- """
2157
- ...
2158
-
2159
- def property_unset(self):
2160
- """Unset a property, will use default value afterward."""
2161
- ...
2162
-
2163
- def remove(self, draw_func):
2164
- """Remove a draw function that has been added to this menu
2165
-
2166
- :param draw_func:
2167
- """
2168
- ...
2169
-
2170
- def type_recast(self):
2171
- """Return a new instance, this is needed because types
2172
- such as textures can be changed at runtime.
2173
-
2174
- :return: a new instance of this object with the type initialized again.
2175
- """
2176
- ...
2177
-
2178
- def values(self):
2179
- """Returns the values of this objects custom properties (matches Python's
2180
- dictionary function of the same name).
2181
-
2182
- :return: custom property values.
2183
- """
2184
- ...
2185
-
2186
- class NODE_MT_texture_node_add_all(bpy_types._GenericUI):
2187
- bl_idname: typing.Any
2188
- bl_label: typing.Any
2189
- bl_rna: typing.Any
2190
- bl_translation_context: typing.Any
2191
- id_data: typing.Any
2192
-
2193
- def append(self, draw_func):
2194
- """Append a draw function to this menu,
2195
- takes the same arguments as the menus draw function
2196
-
2197
- :param draw_func:
2198
- """
2199
- ...
2200
-
2201
- def as_pointer(self) -> int:
2202
- """Returns the memory address which holds a pointer to Blender's internal data
2203
-
2204
- :return: int (memory address).
2205
- :rtype: int
2206
- """
2207
- ...
2208
-
2209
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
2210
- """
2211
-
2212
- :return: The RNA type or default when not found.
2213
- :rtype: bpy.types.Struct
2214
- """
2215
- ...
2216
-
2217
- def bl_rna_get_subclass_py(self) -> typing.Any:
2218
- """
2219
-
2220
- :return: The class or default when not found.
2221
- :rtype: typing.Any
2222
- """
2223
- ...
2224
-
2225
- def draw(self, _context):
265
+ def draw(self, _context):
2226
266
  """
2227
267
 
2228
268
  :param _context:
2229
269
  """
2230
270
  ...
2231
-
2232
- def draw_collapsible(self, context, layout):
2233
- """
2234
-
2235
- :param context:
2236
- :param layout:
2237
- """
2238
- ...
2239
-
2240
- def draw_preset(self, _context):
2241
- """Define these on the subclass:
2242
- - preset_operator (string)
2243
- - preset_subdir (string)Optionally:
2244
- - preset_add_operator (string)
2245
- - preset_extensions (set of strings)
2246
- - preset_operator_defaults (dict of keyword args)
2247
-
2248
- :param _context:
2249
- """
2250
- ...
2251
-
2252
- def driver_add(self) -> bpy.types.FCurve:
2253
- """Adds driver(s) to the given property
2254
-
2255
- :return: The driver(s) added.
2256
- :rtype: bpy.types.FCurve
2257
- """
2258
- ...
2259
-
2260
- def driver_remove(self) -> bool:
2261
- """Remove driver(s) from the given property
2262
-
2263
- :return: Success of driver removal.
2264
- :rtype: bool
2265
- """
2266
- ...
2267
-
2268
- def get(self):
2269
- """Returns the value of the custom property assigned to key or default
2270
- when not found (matches Python's dictionary function of the same name).
2271
-
2272
- """
2273
- ...
2274
-
2275
- def id_properties_clear(self):
2276
- """
2277
-
2278
- :return: Remove the parent group for an RNA struct's custom IDProperties.
2279
- """
2280
- ...
2281
-
2282
- def id_properties_ensure(self):
2283
- """
2284
-
2285
- :return: the parent group for an RNA struct's custom IDProperties.
2286
- """
2287
- ...
2288
-
2289
- def id_properties_ui(self):
2290
- """
2291
-
2292
- :return: Return an object used to manage an IDProperty's UI data.
2293
- """
2294
- ...
2295
-
2296
- def is_extended(self): ...
2297
- def is_property_hidden(self) -> bool:
2298
- """Check if a property is hidden.
2299
-
2300
- :return: True when the property is hidden.
2301
- :rtype: bool
2302
- """
2303
- ...
2304
-
2305
- def is_property_overridable_library(self) -> bool:
2306
- """Check if a property is overridable.
2307
-
2308
- :return: True when the property is overridable.
2309
- :rtype: bool
2310
- """
2311
- ...
2312
-
2313
- def is_property_readonly(self) -> bool:
2314
- """Check if a property is readonly.
2315
-
2316
- :return: True when the property is readonly (not writable).
2317
- :rtype: bool
2318
- """
2319
- ...
2320
-
2321
- def is_property_set(self) -> bool:
2322
- """Check if a property is set, use for testing operator properties.
2323
-
2324
- :return: True when the property has been set.
2325
- :rtype: bool
2326
- """
2327
- ...
2328
-
2329
- def items(self):
2330
- """Returns the items of this objects custom properties (matches Python's
2331
- dictionary function of the same name).
2332
-
2333
- :return: custom property key, value pairs.
2334
- """
2335
- ...
2336
-
2337
- def keyframe_delete(self) -> bool:
2338
- """Remove a keyframe from this properties fcurve.
2339
-
2340
- :return: Success of keyframe deletion.
2341
- :rtype: bool
2342
- """
2343
- ...
2344
-
2345
- def keyframe_insert(self) -> bool:
2346
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
2347
-
2348
- :return: Success of keyframe insertion.
2349
- :rtype: bool
2350
- """
2351
- ...
2352
-
2353
- def keys(self):
2354
- """Returns the keys of this objects custom properties (matches Python's
2355
- dictionary function of the same name).
2356
-
2357
- :return: custom property keys.
2358
- """
2359
- ...
2360
-
2361
- def path_from_id(self) -> str:
2362
- """Returns the data path from the ID to this object (string).
2363
-
2364
- :return: The path from `bpy.types.bpy_struct.id_data`
2365
- to this struct and property (when given).
2366
- :rtype: str
2367
- """
2368
- ...
2369
-
2370
- def path_menu(
2371
- self,
2372
- searchpaths: list[str],
2373
- operator: str,
2374
- *,
2375
- props_default: dict = None,
2376
- prop_filepath: str | None = "filepath",
2377
- filter_ext: collections.abc.Callable | None = None,
2378
- filter_path=None,
2379
- display_name: collections.abc.Callable | None = None,
2380
- add_operator=None,
2381
- add_operator_props=None,
2382
- ):
2383
- """Populate a menu from a list of paths.
2384
-
2385
- :param searchpaths: Paths to scan.
2386
- :type searchpaths: list[str]
2387
- :param operator: The operator id to use with each file.
2388
- :type operator: str
2389
- :param props_default: Properties to assign to each operator.
2390
- :type props_default: dict
2391
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
2392
- :type prop_filepath: str | None
2393
- :param filter_ext: Optional callback that takes the file extensions.
2394
-
2395
- Returning false excludes the file from the list.
2396
- :type filter_ext: collections.abc.Callable | None
2397
- :param filter_path:
2398
- :param display_name: Optional callback that takes the full path, returns the name to display.
2399
- :type display_name: collections.abc.Callable | None
2400
- :param add_operator:
2401
- :param add_operator_props:
2402
- """
2403
- ...
2404
-
2405
- def path_resolve(self):
2406
- """Returns the property from the path, raise an exception when not found."""
2407
- ...
2408
-
2409
- def pop(self):
2410
- """Remove and return the value of the custom property assigned to key or default
2411
- when not found (matches Python's dictionary function of the same name).
2412
-
2413
- """
2414
- ...
2415
-
2416
- def prepend(self, draw_func):
2417
- """Prepend a draw function to this menu, takes the same arguments as
2418
- the menus draw function
2419
-
2420
- :param draw_func:
2421
- """
2422
- ...
2423
-
2424
- def property_overridable_library_set(self) -> bool:
2425
- """Define a property as overridable or not (only for custom properties!).
2426
-
2427
- :return: True when the overridable status of the property was successfully set.
2428
- :rtype: bool
2429
- """
2430
- ...
2431
-
2432
- def property_unset(self):
2433
- """Unset a property, will use default value afterward."""
2434
- ...
2435
-
2436
- def remove(self, draw_func):
2437
- """Remove a draw function that has been added to this menu
2438
-
2439
- :param draw_func:
2440
- """
2441
- ...
2442
-
2443
- def type_recast(self):
2444
- """Return a new instance, this is needed because types
2445
- such as textures can be changed at runtime.
2446
-
2447
- :return: a new instance of this object with the type initialized again.
2448
- """
2449
- ...
2450
-
2451
- def values(self):
2452
- """Returns the values of this objects custom properties (matches Python's
2453
- dictionary function of the same name).
2454
-
2455
- :return: custom property values.
2456
- """
2457
- ...