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.
- bl_operators/add_mesh_torus/__init__.pyi +1 -190
- bl_operators/anim/__init__.pyi +104 -1504
- bl_operators/assets/__init__.pyi +3 -535
- bl_operators/bone_selection_sets/__init__.pyi +187 -2680
- bl_operators/clip/__init__.pyi +144 -1894
- bl_operators/connect_to_output/__init__.pyi +3 -176
- bl_operators/console/__init__.pyi +5 -880
- bl_operators/constraint/__init__.pyi +4 -704
- bl_operators/file/__init__.pyi +3 -528
- bl_operators/freestyle/__init__.pyi +4 -704
- bl_operators/geometry_nodes/__init__.pyi +4 -704
- bl_operators/image/__init__.pyi +5 -869
- bl_operators/image_as_planes/__init__.pyi +4 -424
- bl_operators/mesh/__init__.pyi +3 -528
- bl_operators/node/__init__.pyi +159 -2065
- bl_operators/object/__init__.pyi +217 -2842
- bl_operators/object_align/__init__.pyi +1 -176
- bl_operators/object_quick_effects/__init__.pyi +4 -725
- bl_operators/object_randomize_transform/__init__.pyi +1 -176
- bl_operators/presets/__init__.pyi +405 -5487
- bl_operators/rigidbody/__init__.pyi +3 -528
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -176
- bl_operators/sequencer/__init__.pyi +119 -1507
- bl_operators/spreadsheet/__init__.pyi +1 -176
- bl_operators/userpref/__init__.pyi +383 -4757
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -176
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -176
- bl_operators/uvcalc_transform/__init__.pyi +2 -352
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -176
- bl_operators/view3d/__init__.pyi +101 -1468
- bl_operators/wm/__init__.pyi +723 -8894
- bl_operators/world/__init__.pyi +1 -176
- bl_ui/__init__.pyi +3 -534
- bl_ui/anim/__init__.pyi +1 -244
- bl_ui/asset_shelf/__init__.pyi +1 -189
- bl_ui/generic_ui_list/__init__.pyi +3 -594
- bl_ui/node_add_menu/__init__.pyi +1 -244
- bl_ui/node_add_menu_compositor/__init__.pyi +226 -4600
- bl_ui/node_add_menu_geometry/__init__.pyi +654 -12802
- bl_ui/node_add_menu_shader/__init__.pyi +94 -2531
- bl_ui/node_add_menu_texture/__init__.pyi +81 -2268
- bl_ui/properties_collection/__init__.pyi +58 -1272
- bl_ui/properties_constraint/__init__.pyi +1508 -32656
- bl_ui/properties_data_armature/__init__.pyi +278 -3804
- bl_ui/properties_data_bone/__init__.pyi +151 -2062
- bl_ui/properties_data_camera/__init__.pyi +216 -3034
- bl_ui/properties_data_curve/__init__.pyi +214 -3117
- bl_ui/properties_data_curves/__init__.pyi +57 -1273
- bl_ui/properties_data_empty/__init__.pyi +2 -385
- bl_ui/properties_data_gpencil/__init__.pyi +285 -3922
- bl_ui/properties_data_grease_pencil/__init__.pyi +198 -3081
- bl_ui/properties_data_lattice/__init__.pyi +3 -595
- bl_ui/properties_data_light/__init__.pyi +200 -2502
- bl_ui/properties_data_lightprobe/__init__.pyi +212 -2704
- bl_ui/properties_data_mesh/__init__.pyi +323 -4380
- bl_ui/properties_data_metaball/__init__.pyi +38 -1011
- bl_ui/properties_data_modifier/__init__.pyi +157 -2451
- bl_ui/properties_data_pointcloud/__init__.pyi +68 -1087
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -189
- bl_ui/properties_data_speaker/__init__.pyi +36 -1018
- bl_ui/properties_data_volume/__init__.pyi +104 -1660
- bl_ui/properties_freestyle/__init__.pyi +438 -5136
- bl_ui/properties_grease_pencil_common/__init__.pyi +197 -3852
- bl_ui/properties_mask_common/__init__.pyi +59 -1705
- bl_ui/properties_material/__init__.pyi +227 -3334
- bl_ui/properties_material_gpencil/__init__.pyi +187 -2221
- bl_ui/properties_object/__init__.pyi +197 -2908
- bl_ui/properties_output/__init__.pyi +286 -3895
- bl_ui/properties_paint_common/__init__.pyi +40 -923
- bl_ui/properties_particle/__init__.pyi +954 -10839
- bl_ui/properties_physics_cloth/__init__.pyi +219 -2979
- bl_ui/properties_physics_common/__init__.pyi +1 -196
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +429 -5411
- bl_ui/properties_physics_field/__init__.pyi +160 -2166
- bl_ui/properties_physics_fluid/__init__.pyi +541 -7352
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -189
- bl_ui/properties_physics_rigidbody/__init__.pyi +125 -1623
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +196 -2640
- bl_ui/properties_physics_softbody/__init__.pyi +238 -3135
- bl_ui/properties_render/__init__.pyi +1065 -11565
- bl_ui/properties_scene/__init__.pyi +209 -3090
- bl_ui/properties_texture/__init__.pyi +426 -5475
- bl_ui/properties_view_layer/__init__.pyi +264 -3827
- bl_ui/properties_workspace/__init__.pyi +7 -770
- bl_ui/properties_world/__init__.pyi +147 -2056
- bl_ui/space_clip/__init__.pyi +1013 -16279
- bl_ui/space_console/__init__.pyi +39 -1442
- bl_ui/space_dopesheet/__init__.pyi +450 -7213
- bl_ui/space_filebrowser/__init__.pyi +406 -6708
- bl_ui/space_graph/__init__.pyi +223 -4886
- bl_ui/space_image/__init__.pyi +1091 -16394
- bl_ui/space_info/__init__.pyi +39 -1442
- bl_ui/space_nla/__init__.pyi +216 -4157
- bl_ui/space_node/__init__.pyi +394 -6344
- bl_ui/space_outliner/__init__.pyi +156 -3448
- bl_ui/space_properties/__init__.pyi +3 -567
- bl_ui/space_sequencer/__init__.pyi +1224 -18036
- bl_ui/space_spreadsheet/__init__.pyi +1 -189
- bl_ui/space_statusbar/__init__.pyi +1 -189
- bl_ui/space_text/__init__.pyi +183 -3851
- bl_ui/space_time/__init__.pyi +69 -1622
- bl_ui/space_toolsystem_common/__init__.pyi +2 -118
- bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -476
- bl_ui/space_topbar/__init__.pyi +322 -6269
- bl_ui/space_userpref/__init__.pyi +1758 -19735
- bl_ui/space_view3d/__init__.pyi +3853 -67593
- bl_ui/space_view3d_toolbar/__init__.pyi +1948 -23558
- bl_ui/temp_anim_layers/__init__.pyi +1 -189
- bl_ui/utils/__init__.pyi +0 -35
- bpy/ops/outliner/__init__.pyi +0 -1
- bpy/ops/sound/__init__.pyi +37 -7
- bpy/types/__init__.pyi +65 -8
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/RECORD +120 -120
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +268 -4448
- nodeitems_builtins/__init__.pyi +1 -7
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class DATA_PT_cone(DataButtonsPanel, bpy_types._GenericUI):
|
|
11
|
+
class DATA_PT_cone(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
12
12
|
COMPAT_ENGINES: typing.Any
|
|
13
13
|
bl_context: typing.Any
|
|
14
14
|
bl_label: typing.Any
|
|
@@ -18,22 +18,6 @@ class DATA_PT_cone(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
18
18
|
bl_space_type: typing.Any
|
|
19
19
|
id_data: typing.Any
|
|
20
20
|
|
|
21
|
-
def append(self, draw_func):
|
|
22
|
-
"""Append a draw function to this menu,
|
|
23
|
-
takes the same arguments as the menus draw function
|
|
24
|
-
|
|
25
|
-
:param draw_func:
|
|
26
|
-
"""
|
|
27
|
-
...
|
|
28
|
-
|
|
29
|
-
def as_pointer(self) -> int:
|
|
30
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
31
|
-
|
|
32
|
-
:return: int (memory address).
|
|
33
|
-
:rtype: int
|
|
34
|
-
"""
|
|
35
|
-
...
|
|
36
|
-
|
|
37
21
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
38
22
|
"""
|
|
39
23
|
|
|
@@ -57,186 +41,7 @@ class DATA_PT_cone(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
57
41
|
"""
|
|
58
42
|
...
|
|
59
43
|
|
|
60
|
-
|
|
61
|
-
"""Adds driver(s) to the given property
|
|
62
|
-
|
|
63
|
-
:return: The driver(s) added.
|
|
64
|
-
:rtype: bpy.types.FCurve
|
|
65
|
-
"""
|
|
66
|
-
...
|
|
67
|
-
|
|
68
|
-
def driver_remove(self) -> bool:
|
|
69
|
-
"""Remove driver(s) from the given property
|
|
70
|
-
|
|
71
|
-
:return: Success of driver removal.
|
|
72
|
-
:rtype: bool
|
|
73
|
-
"""
|
|
74
|
-
...
|
|
75
|
-
|
|
76
|
-
def get(self):
|
|
77
|
-
"""Returns the value of the custom property assigned to key or default
|
|
78
|
-
when not found (matches Python's dictionary function of the same name).
|
|
79
|
-
|
|
80
|
-
"""
|
|
81
|
-
...
|
|
82
|
-
|
|
83
|
-
def id_properties_clear(self):
|
|
84
|
-
"""
|
|
85
|
-
|
|
86
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
87
|
-
"""
|
|
88
|
-
...
|
|
89
|
-
|
|
90
|
-
def id_properties_ensure(self):
|
|
91
|
-
"""
|
|
92
|
-
|
|
93
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
94
|
-
"""
|
|
95
|
-
...
|
|
96
|
-
|
|
97
|
-
def id_properties_ui(self):
|
|
98
|
-
"""
|
|
99
|
-
|
|
100
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
101
|
-
"""
|
|
102
|
-
...
|
|
103
|
-
|
|
104
|
-
def is_extended(self): ...
|
|
105
|
-
def is_property_hidden(self) -> bool:
|
|
106
|
-
"""Check if a property is hidden.
|
|
107
|
-
|
|
108
|
-
:return: True when the property is hidden.
|
|
109
|
-
:rtype: bool
|
|
110
|
-
"""
|
|
111
|
-
...
|
|
112
|
-
|
|
113
|
-
def is_property_overridable_library(self) -> bool:
|
|
114
|
-
"""Check if a property is overridable.
|
|
115
|
-
|
|
116
|
-
:return: True when the property is overridable.
|
|
117
|
-
:rtype: bool
|
|
118
|
-
"""
|
|
119
|
-
...
|
|
120
|
-
|
|
121
|
-
def is_property_readonly(self) -> bool:
|
|
122
|
-
"""Check if a property is readonly.
|
|
123
|
-
|
|
124
|
-
:return: True when the property is readonly (not writable).
|
|
125
|
-
:rtype: bool
|
|
126
|
-
"""
|
|
127
|
-
...
|
|
128
|
-
|
|
129
|
-
def is_property_set(self) -> bool:
|
|
130
|
-
"""Check if a property is set, use for testing operator properties.
|
|
131
|
-
|
|
132
|
-
:return: True when the property has been set.
|
|
133
|
-
:rtype: bool
|
|
134
|
-
"""
|
|
135
|
-
...
|
|
136
|
-
|
|
137
|
-
def items(self):
|
|
138
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
139
|
-
dictionary function of the same name).
|
|
140
|
-
|
|
141
|
-
:return: custom property key, value pairs.
|
|
142
|
-
"""
|
|
143
|
-
...
|
|
144
|
-
|
|
145
|
-
def keyframe_delete(self) -> bool:
|
|
146
|
-
"""Remove a keyframe from this properties fcurve.
|
|
147
|
-
|
|
148
|
-
:return: Success of keyframe deletion.
|
|
149
|
-
:rtype: bool
|
|
150
|
-
"""
|
|
151
|
-
...
|
|
152
|
-
|
|
153
|
-
def keyframe_insert(self) -> bool:
|
|
154
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
155
|
-
|
|
156
|
-
:return: Success of keyframe insertion.
|
|
157
|
-
:rtype: bool
|
|
158
|
-
"""
|
|
159
|
-
...
|
|
160
|
-
|
|
161
|
-
def keys(self):
|
|
162
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
163
|
-
dictionary function of the same name).
|
|
164
|
-
|
|
165
|
-
:return: custom property keys.
|
|
166
|
-
"""
|
|
167
|
-
...
|
|
168
|
-
|
|
169
|
-
def path_from_id(self) -> str:
|
|
170
|
-
"""Returns the data path from the ID to this object (string).
|
|
171
|
-
|
|
172
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
173
|
-
to this struct and property (when given).
|
|
174
|
-
:rtype: str
|
|
175
|
-
"""
|
|
176
|
-
...
|
|
177
|
-
|
|
178
|
-
def path_resolve(self):
|
|
179
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
180
|
-
...
|
|
181
|
-
|
|
182
|
-
def poll(self, context):
|
|
183
|
-
"""
|
|
184
|
-
|
|
185
|
-
:param context:
|
|
186
|
-
"""
|
|
187
|
-
...
|
|
188
|
-
|
|
189
|
-
def pop(self):
|
|
190
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
191
|
-
when not found (matches Python's dictionary function of the same name).
|
|
192
|
-
|
|
193
|
-
"""
|
|
194
|
-
...
|
|
195
|
-
|
|
196
|
-
def prepend(self, draw_func):
|
|
197
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
198
|
-
the menus draw function
|
|
199
|
-
|
|
200
|
-
:param draw_func:
|
|
201
|
-
"""
|
|
202
|
-
...
|
|
203
|
-
|
|
204
|
-
def property_overridable_library_set(self) -> bool:
|
|
205
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
206
|
-
|
|
207
|
-
:return: True when the overridable status of the property was successfully set.
|
|
208
|
-
:rtype: bool
|
|
209
|
-
"""
|
|
210
|
-
...
|
|
211
|
-
|
|
212
|
-
def property_unset(self):
|
|
213
|
-
"""Unset a property, will use default value afterward."""
|
|
214
|
-
...
|
|
215
|
-
|
|
216
|
-
def remove(self, draw_func):
|
|
217
|
-
"""Remove a draw function that has been added to this menu
|
|
218
|
-
|
|
219
|
-
:param draw_func:
|
|
220
|
-
"""
|
|
221
|
-
...
|
|
222
|
-
|
|
223
|
-
def type_recast(self):
|
|
224
|
-
"""Return a new instance, this is needed because types
|
|
225
|
-
such as textures can be changed at runtime.
|
|
226
|
-
|
|
227
|
-
:return: a new instance of this object with the type initialized again.
|
|
228
|
-
"""
|
|
229
|
-
...
|
|
230
|
-
|
|
231
|
-
def values(self):
|
|
232
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
233
|
-
dictionary function of the same name).
|
|
234
|
-
|
|
235
|
-
:return: custom property values.
|
|
236
|
-
"""
|
|
237
|
-
...
|
|
238
|
-
|
|
239
|
-
class DATA_PT_context_speaker(DataButtonsPanel, bpy_types._GenericUI):
|
|
44
|
+
class DATA_PT_context_speaker(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
240
45
|
COMPAT_ENGINES: typing.Any
|
|
241
46
|
bl_context: typing.Any
|
|
242
47
|
bl_label: typing.Any
|
|
@@ -246,22 +51,6 @@ class DATA_PT_context_speaker(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
246
51
|
bl_space_type: typing.Any
|
|
247
52
|
id_data: typing.Any
|
|
248
53
|
|
|
249
|
-
def append(self, draw_func):
|
|
250
|
-
"""Append a draw function to this menu,
|
|
251
|
-
takes the same arguments as the menus draw function
|
|
252
|
-
|
|
253
|
-
:param draw_func:
|
|
254
|
-
"""
|
|
255
|
-
...
|
|
256
|
-
|
|
257
|
-
def as_pointer(self) -> int:
|
|
258
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
259
|
-
|
|
260
|
-
:return: int (memory address).
|
|
261
|
-
:rtype: int
|
|
262
|
-
"""
|
|
263
|
-
...
|
|
264
|
-
|
|
265
54
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
266
55
|
"""
|
|
267
56
|
|
|
@@ -285,187 +74,8 @@ class DATA_PT_context_speaker(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
285
74
|
"""
|
|
286
75
|
...
|
|
287
76
|
|
|
288
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
289
|
-
"""Adds driver(s) to the given property
|
|
290
|
-
|
|
291
|
-
:return: The driver(s) added.
|
|
292
|
-
:rtype: bpy.types.FCurve
|
|
293
|
-
"""
|
|
294
|
-
...
|
|
295
|
-
|
|
296
|
-
def driver_remove(self) -> bool:
|
|
297
|
-
"""Remove driver(s) from the given property
|
|
298
|
-
|
|
299
|
-
:return: Success of driver removal.
|
|
300
|
-
:rtype: bool
|
|
301
|
-
"""
|
|
302
|
-
...
|
|
303
|
-
|
|
304
|
-
def get(self):
|
|
305
|
-
"""Returns the value of the custom property assigned to key or default
|
|
306
|
-
when not found (matches Python's dictionary function of the same name).
|
|
307
|
-
|
|
308
|
-
"""
|
|
309
|
-
...
|
|
310
|
-
|
|
311
|
-
def id_properties_clear(self):
|
|
312
|
-
"""
|
|
313
|
-
|
|
314
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
315
|
-
"""
|
|
316
|
-
...
|
|
317
|
-
|
|
318
|
-
def id_properties_ensure(self):
|
|
319
|
-
"""
|
|
320
|
-
|
|
321
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
322
|
-
"""
|
|
323
|
-
...
|
|
324
|
-
|
|
325
|
-
def id_properties_ui(self):
|
|
326
|
-
"""
|
|
327
|
-
|
|
328
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
329
|
-
"""
|
|
330
|
-
...
|
|
331
|
-
|
|
332
|
-
def is_extended(self): ...
|
|
333
|
-
def is_property_hidden(self) -> bool:
|
|
334
|
-
"""Check if a property is hidden.
|
|
335
|
-
|
|
336
|
-
:return: True when the property is hidden.
|
|
337
|
-
:rtype: bool
|
|
338
|
-
"""
|
|
339
|
-
...
|
|
340
|
-
|
|
341
|
-
def is_property_overridable_library(self) -> bool:
|
|
342
|
-
"""Check if a property is overridable.
|
|
343
|
-
|
|
344
|
-
:return: True when the property is overridable.
|
|
345
|
-
:rtype: bool
|
|
346
|
-
"""
|
|
347
|
-
...
|
|
348
|
-
|
|
349
|
-
def is_property_readonly(self) -> bool:
|
|
350
|
-
"""Check if a property is readonly.
|
|
351
|
-
|
|
352
|
-
:return: True when the property is readonly (not writable).
|
|
353
|
-
:rtype: bool
|
|
354
|
-
"""
|
|
355
|
-
...
|
|
356
|
-
|
|
357
|
-
def is_property_set(self) -> bool:
|
|
358
|
-
"""Check if a property is set, use for testing operator properties.
|
|
359
|
-
|
|
360
|
-
:return: True when the property has been set.
|
|
361
|
-
:rtype: bool
|
|
362
|
-
"""
|
|
363
|
-
...
|
|
364
|
-
|
|
365
|
-
def items(self):
|
|
366
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
367
|
-
dictionary function of the same name).
|
|
368
|
-
|
|
369
|
-
:return: custom property key, value pairs.
|
|
370
|
-
"""
|
|
371
|
-
...
|
|
372
|
-
|
|
373
|
-
def keyframe_delete(self) -> bool:
|
|
374
|
-
"""Remove a keyframe from this properties fcurve.
|
|
375
|
-
|
|
376
|
-
:return: Success of keyframe deletion.
|
|
377
|
-
:rtype: bool
|
|
378
|
-
"""
|
|
379
|
-
...
|
|
380
|
-
|
|
381
|
-
def keyframe_insert(self) -> bool:
|
|
382
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
383
|
-
|
|
384
|
-
:return: Success of keyframe insertion.
|
|
385
|
-
:rtype: bool
|
|
386
|
-
"""
|
|
387
|
-
...
|
|
388
|
-
|
|
389
|
-
def keys(self):
|
|
390
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
391
|
-
dictionary function of the same name).
|
|
392
|
-
|
|
393
|
-
:return: custom property keys.
|
|
394
|
-
"""
|
|
395
|
-
...
|
|
396
|
-
|
|
397
|
-
def path_from_id(self) -> str:
|
|
398
|
-
"""Returns the data path from the ID to this object (string).
|
|
399
|
-
|
|
400
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
401
|
-
to this struct and property (when given).
|
|
402
|
-
:rtype: str
|
|
403
|
-
"""
|
|
404
|
-
...
|
|
405
|
-
|
|
406
|
-
def path_resolve(self):
|
|
407
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
408
|
-
...
|
|
409
|
-
|
|
410
|
-
def poll(self, context):
|
|
411
|
-
"""
|
|
412
|
-
|
|
413
|
-
:param context:
|
|
414
|
-
"""
|
|
415
|
-
...
|
|
416
|
-
|
|
417
|
-
def pop(self):
|
|
418
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
419
|
-
when not found (matches Python's dictionary function of the same name).
|
|
420
|
-
|
|
421
|
-
"""
|
|
422
|
-
...
|
|
423
|
-
|
|
424
|
-
def prepend(self, draw_func):
|
|
425
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
426
|
-
the menus draw function
|
|
427
|
-
|
|
428
|
-
:param draw_func:
|
|
429
|
-
"""
|
|
430
|
-
...
|
|
431
|
-
|
|
432
|
-
def property_overridable_library_set(self) -> bool:
|
|
433
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
434
|
-
|
|
435
|
-
:return: True when the overridable status of the property was successfully set.
|
|
436
|
-
:rtype: bool
|
|
437
|
-
"""
|
|
438
|
-
...
|
|
439
|
-
|
|
440
|
-
def property_unset(self):
|
|
441
|
-
"""Unset a property, will use default value afterward."""
|
|
442
|
-
...
|
|
443
|
-
|
|
444
|
-
def remove(self, draw_func):
|
|
445
|
-
"""Remove a draw function that has been added to this menu
|
|
446
|
-
|
|
447
|
-
:param draw_func:
|
|
448
|
-
"""
|
|
449
|
-
...
|
|
450
|
-
|
|
451
|
-
def type_recast(self):
|
|
452
|
-
"""Return a new instance, this is needed because types
|
|
453
|
-
such as textures can be changed at runtime.
|
|
454
|
-
|
|
455
|
-
:return: a new instance of this object with the type initialized again.
|
|
456
|
-
"""
|
|
457
|
-
...
|
|
458
|
-
|
|
459
|
-
def values(self):
|
|
460
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
461
|
-
dictionary function of the same name).
|
|
462
|
-
|
|
463
|
-
:return: custom property values.
|
|
464
|
-
"""
|
|
465
|
-
...
|
|
466
|
-
|
|
467
77
|
class DATA_PT_custom_props_speaker(
|
|
468
|
-
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
78
|
+
bpy.types.Panel, DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
469
79
|
):
|
|
470
80
|
"""The subclass should have its own poll function
|
|
471
81
|
and the variable '_context_path' MUST be set.
|
|
@@ -481,22 +91,32 @@ class DATA_PT_custom_props_speaker(
|
|
|
481
91
|
bl_space_type: typing.Any
|
|
482
92
|
id_data: typing.Any
|
|
483
93
|
|
|
484
|
-
def
|
|
485
|
-
"""
|
|
486
|
-
takes the same arguments as the menus draw function
|
|
94
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
95
|
+
"""
|
|
487
96
|
|
|
488
|
-
|
|
97
|
+
:return: The RNA type or default when not found.
|
|
98
|
+
:rtype: bpy.types.Struct
|
|
489
99
|
"""
|
|
490
100
|
...
|
|
491
101
|
|
|
492
|
-
def
|
|
493
|
-
"""
|
|
102
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
103
|
+
"""
|
|
494
104
|
|
|
495
|
-
:return:
|
|
496
|
-
:rtype:
|
|
105
|
+
:return: The class or default when not found.
|
|
106
|
+
:rtype: typing.Any
|
|
497
107
|
"""
|
|
498
108
|
...
|
|
499
109
|
|
|
110
|
+
class DATA_PT_distance(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
111
|
+
COMPAT_ENGINES: typing.Any
|
|
112
|
+
bl_context: typing.Any
|
|
113
|
+
bl_label: typing.Any
|
|
114
|
+
bl_options: typing.Any
|
|
115
|
+
bl_region_type: typing.Any
|
|
116
|
+
bl_rna: typing.Any
|
|
117
|
+
bl_space_type: typing.Any
|
|
118
|
+
id_data: typing.Any
|
|
119
|
+
|
|
500
120
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
501
121
|
"""
|
|
502
122
|
|
|
@@ -520,640 +140,38 @@ class DATA_PT_custom_props_speaker(
|
|
|
520
140
|
"""
|
|
521
141
|
...
|
|
522
142
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
def driver_remove(self) -> bool:
|
|
532
|
-
"""Remove driver(s) from the given property
|
|
533
|
-
|
|
534
|
-
:return: Success of driver removal.
|
|
535
|
-
:rtype: bool
|
|
536
|
-
"""
|
|
537
|
-
...
|
|
538
|
-
|
|
539
|
-
def get(self):
|
|
540
|
-
"""Returns the value of the custom property assigned to key or default
|
|
541
|
-
when not found (matches Python's dictionary function of the same name).
|
|
542
|
-
|
|
543
|
-
"""
|
|
544
|
-
...
|
|
143
|
+
class DATA_PT_speaker(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
144
|
+
COMPAT_ENGINES: typing.Any
|
|
145
|
+
bl_context: typing.Any
|
|
146
|
+
bl_label: typing.Any
|
|
147
|
+
bl_region_type: typing.Any
|
|
148
|
+
bl_rna: typing.Any
|
|
149
|
+
bl_space_type: typing.Any
|
|
150
|
+
id_data: typing.Any
|
|
545
151
|
|
|
546
|
-
def
|
|
152
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
547
153
|
"""
|
|
548
154
|
|
|
549
|
-
:return:
|
|
155
|
+
:return: The RNA type or default when not found.
|
|
156
|
+
:rtype: bpy.types.Struct
|
|
550
157
|
"""
|
|
551
158
|
...
|
|
552
159
|
|
|
553
|
-
def
|
|
160
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
554
161
|
"""
|
|
555
162
|
|
|
556
|
-
:return:
|
|
163
|
+
:return: The class or default when not found.
|
|
164
|
+
:rtype: typing.Any
|
|
557
165
|
"""
|
|
558
166
|
...
|
|
559
167
|
|
|
560
|
-
def
|
|
561
|
-
"""
|
|
562
|
-
|
|
563
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
564
|
-
"""
|
|
565
|
-
...
|
|
566
|
-
|
|
567
|
-
def is_extended(self): ...
|
|
568
|
-
def is_property_hidden(self) -> bool:
|
|
569
|
-
"""Check if a property is hidden.
|
|
570
|
-
|
|
571
|
-
:return: True when the property is hidden.
|
|
572
|
-
:rtype: bool
|
|
573
|
-
"""
|
|
574
|
-
...
|
|
575
|
-
|
|
576
|
-
def is_property_overridable_library(self) -> bool:
|
|
577
|
-
"""Check if a property is overridable.
|
|
578
|
-
|
|
579
|
-
:return: True when the property is overridable.
|
|
580
|
-
:rtype: bool
|
|
581
|
-
"""
|
|
582
|
-
...
|
|
583
|
-
|
|
584
|
-
def is_property_readonly(self) -> bool:
|
|
585
|
-
"""Check if a property is readonly.
|
|
586
|
-
|
|
587
|
-
:return: True when the property is readonly (not writable).
|
|
588
|
-
:rtype: bool
|
|
589
|
-
"""
|
|
590
|
-
...
|
|
591
|
-
|
|
592
|
-
def is_property_set(self) -> bool:
|
|
593
|
-
"""Check if a property is set, use for testing operator properties.
|
|
594
|
-
|
|
595
|
-
:return: True when the property has been set.
|
|
596
|
-
:rtype: bool
|
|
597
|
-
"""
|
|
598
|
-
...
|
|
599
|
-
|
|
600
|
-
def items(self):
|
|
601
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
602
|
-
dictionary function of the same name).
|
|
603
|
-
|
|
604
|
-
:return: custom property key, value pairs.
|
|
605
|
-
"""
|
|
606
|
-
...
|
|
607
|
-
|
|
608
|
-
def keyframe_delete(self) -> bool:
|
|
609
|
-
"""Remove a keyframe from this properties fcurve.
|
|
610
|
-
|
|
611
|
-
:return: Success of keyframe deletion.
|
|
612
|
-
:rtype: bool
|
|
613
|
-
"""
|
|
614
|
-
...
|
|
615
|
-
|
|
616
|
-
def keyframe_insert(self) -> bool:
|
|
617
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
618
|
-
|
|
619
|
-
:return: Success of keyframe insertion.
|
|
620
|
-
:rtype: bool
|
|
621
|
-
"""
|
|
622
|
-
...
|
|
623
|
-
|
|
624
|
-
def keys(self):
|
|
625
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
626
|
-
dictionary function of the same name).
|
|
627
|
-
|
|
628
|
-
:return: custom property keys.
|
|
629
|
-
"""
|
|
630
|
-
...
|
|
631
|
-
|
|
632
|
-
def path_from_id(self) -> str:
|
|
633
|
-
"""Returns the data path from the ID to this object (string).
|
|
634
|
-
|
|
635
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
636
|
-
to this struct and property (when given).
|
|
637
|
-
:rtype: str
|
|
638
|
-
"""
|
|
639
|
-
...
|
|
640
|
-
|
|
641
|
-
def path_resolve(self):
|
|
642
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
643
|
-
...
|
|
644
|
-
|
|
645
|
-
def poll(self, context):
|
|
646
|
-
"""
|
|
647
|
-
|
|
648
|
-
:param context:
|
|
649
|
-
"""
|
|
650
|
-
...
|
|
651
|
-
|
|
652
|
-
def pop(self):
|
|
653
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
654
|
-
when not found (matches Python's dictionary function of the same name).
|
|
655
|
-
|
|
656
|
-
"""
|
|
657
|
-
...
|
|
658
|
-
|
|
659
|
-
def prepend(self, draw_func):
|
|
660
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
661
|
-
the menus draw function
|
|
662
|
-
|
|
663
|
-
:param draw_func:
|
|
664
|
-
"""
|
|
665
|
-
...
|
|
666
|
-
|
|
667
|
-
def property_overridable_library_set(self) -> bool:
|
|
668
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
669
|
-
|
|
670
|
-
:return: True when the overridable status of the property was successfully set.
|
|
671
|
-
:rtype: bool
|
|
672
|
-
"""
|
|
673
|
-
...
|
|
674
|
-
|
|
675
|
-
def property_unset(self):
|
|
676
|
-
"""Unset a property, will use default value afterward."""
|
|
677
|
-
...
|
|
678
|
-
|
|
679
|
-
def remove(self, draw_func):
|
|
680
|
-
"""Remove a draw function that has been added to this menu
|
|
681
|
-
|
|
682
|
-
:param draw_func:
|
|
683
|
-
"""
|
|
684
|
-
...
|
|
685
|
-
|
|
686
|
-
def type_recast(self):
|
|
687
|
-
"""Return a new instance, this is needed because types
|
|
688
|
-
such as textures can be changed at runtime.
|
|
689
|
-
|
|
690
|
-
:return: a new instance of this object with the type initialized again.
|
|
691
|
-
"""
|
|
692
|
-
...
|
|
693
|
-
|
|
694
|
-
def values(self):
|
|
695
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
696
|
-
dictionary function of the same name).
|
|
697
|
-
|
|
698
|
-
:return: custom property values.
|
|
699
|
-
"""
|
|
700
|
-
...
|
|
701
|
-
|
|
702
|
-
class DATA_PT_distance(DataButtonsPanel, bpy_types._GenericUI):
|
|
703
|
-
COMPAT_ENGINES: typing.Any
|
|
704
|
-
bl_context: typing.Any
|
|
705
|
-
bl_label: typing.Any
|
|
706
|
-
bl_options: typing.Any
|
|
707
|
-
bl_region_type: typing.Any
|
|
708
|
-
bl_rna: typing.Any
|
|
709
|
-
bl_space_type: typing.Any
|
|
710
|
-
id_data: typing.Any
|
|
711
|
-
|
|
712
|
-
def append(self, draw_func):
|
|
713
|
-
"""Append a draw function to this menu,
|
|
714
|
-
takes the same arguments as the menus draw function
|
|
715
|
-
|
|
716
|
-
:param draw_func:
|
|
717
|
-
"""
|
|
718
|
-
...
|
|
719
|
-
|
|
720
|
-
def as_pointer(self) -> int:
|
|
721
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
722
|
-
|
|
723
|
-
:return: int (memory address).
|
|
724
|
-
:rtype: int
|
|
725
|
-
"""
|
|
726
|
-
...
|
|
727
|
-
|
|
728
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
729
|
-
"""
|
|
730
|
-
|
|
731
|
-
:return: The RNA type or default when not found.
|
|
732
|
-
:rtype: bpy.types.Struct
|
|
733
|
-
"""
|
|
734
|
-
...
|
|
735
|
-
|
|
736
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
737
|
-
"""
|
|
738
|
-
|
|
739
|
-
:return: The class or default when not found.
|
|
740
|
-
:rtype: typing.Any
|
|
741
|
-
"""
|
|
742
|
-
...
|
|
743
|
-
|
|
744
|
-
def draw(self, context):
|
|
745
|
-
"""
|
|
746
|
-
|
|
747
|
-
:param context:
|
|
748
|
-
"""
|
|
749
|
-
...
|
|
750
|
-
|
|
751
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
752
|
-
"""Adds driver(s) to the given property
|
|
753
|
-
|
|
754
|
-
:return: The driver(s) added.
|
|
755
|
-
:rtype: bpy.types.FCurve
|
|
756
|
-
"""
|
|
757
|
-
...
|
|
758
|
-
|
|
759
|
-
def driver_remove(self) -> bool:
|
|
760
|
-
"""Remove driver(s) from the given property
|
|
761
|
-
|
|
762
|
-
:return: Success of driver removal.
|
|
763
|
-
:rtype: bool
|
|
764
|
-
"""
|
|
765
|
-
...
|
|
766
|
-
|
|
767
|
-
def get(self):
|
|
768
|
-
"""Returns the value of the custom property assigned to key or default
|
|
769
|
-
when not found (matches Python's dictionary function of the same name).
|
|
770
|
-
|
|
771
|
-
"""
|
|
772
|
-
...
|
|
773
|
-
|
|
774
|
-
def id_properties_clear(self):
|
|
775
|
-
"""
|
|
776
|
-
|
|
777
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
778
|
-
"""
|
|
779
|
-
...
|
|
780
|
-
|
|
781
|
-
def id_properties_ensure(self):
|
|
782
|
-
"""
|
|
783
|
-
|
|
784
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
785
|
-
"""
|
|
786
|
-
...
|
|
787
|
-
|
|
788
|
-
def id_properties_ui(self):
|
|
789
|
-
"""
|
|
790
|
-
|
|
791
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
792
|
-
"""
|
|
793
|
-
...
|
|
794
|
-
|
|
795
|
-
def is_extended(self): ...
|
|
796
|
-
def is_property_hidden(self) -> bool:
|
|
797
|
-
"""Check if a property is hidden.
|
|
798
|
-
|
|
799
|
-
:return: True when the property is hidden.
|
|
800
|
-
:rtype: bool
|
|
801
|
-
"""
|
|
802
|
-
...
|
|
803
|
-
|
|
804
|
-
def is_property_overridable_library(self) -> bool:
|
|
805
|
-
"""Check if a property is overridable.
|
|
806
|
-
|
|
807
|
-
:return: True when the property is overridable.
|
|
808
|
-
:rtype: bool
|
|
809
|
-
"""
|
|
810
|
-
...
|
|
811
|
-
|
|
812
|
-
def is_property_readonly(self) -> bool:
|
|
813
|
-
"""Check if a property is readonly.
|
|
814
|
-
|
|
815
|
-
:return: True when the property is readonly (not writable).
|
|
816
|
-
:rtype: bool
|
|
817
|
-
"""
|
|
818
|
-
...
|
|
819
|
-
|
|
820
|
-
def is_property_set(self) -> bool:
|
|
821
|
-
"""Check if a property is set, use for testing operator properties.
|
|
822
|
-
|
|
823
|
-
:return: True when the property has been set.
|
|
824
|
-
:rtype: bool
|
|
825
|
-
"""
|
|
826
|
-
...
|
|
827
|
-
|
|
828
|
-
def items(self):
|
|
829
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
830
|
-
dictionary function of the same name).
|
|
831
|
-
|
|
832
|
-
:return: custom property key, value pairs.
|
|
833
|
-
"""
|
|
834
|
-
...
|
|
835
|
-
|
|
836
|
-
def keyframe_delete(self) -> bool:
|
|
837
|
-
"""Remove a keyframe from this properties fcurve.
|
|
838
|
-
|
|
839
|
-
:return: Success of keyframe deletion.
|
|
840
|
-
:rtype: bool
|
|
841
|
-
"""
|
|
842
|
-
...
|
|
843
|
-
|
|
844
|
-
def keyframe_insert(self) -> bool:
|
|
845
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
846
|
-
|
|
847
|
-
:return: Success of keyframe insertion.
|
|
848
|
-
:rtype: bool
|
|
849
|
-
"""
|
|
850
|
-
...
|
|
851
|
-
|
|
852
|
-
def keys(self):
|
|
853
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
854
|
-
dictionary function of the same name).
|
|
855
|
-
|
|
856
|
-
:return: custom property keys.
|
|
857
|
-
"""
|
|
858
|
-
...
|
|
859
|
-
|
|
860
|
-
def path_from_id(self) -> str:
|
|
861
|
-
"""Returns the data path from the ID to this object (string).
|
|
862
|
-
|
|
863
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
864
|
-
to this struct and property (when given).
|
|
865
|
-
:rtype: str
|
|
866
|
-
"""
|
|
867
|
-
...
|
|
868
|
-
|
|
869
|
-
def path_resolve(self):
|
|
870
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
871
|
-
...
|
|
872
|
-
|
|
873
|
-
def poll(self, context):
|
|
168
|
+
def draw(self, context):
|
|
874
169
|
"""
|
|
875
170
|
|
|
876
171
|
:param context:
|
|
877
172
|
"""
|
|
878
173
|
...
|
|
879
174
|
|
|
880
|
-
def pop(self):
|
|
881
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
882
|
-
when not found (matches Python's dictionary function of the same name).
|
|
883
|
-
|
|
884
|
-
"""
|
|
885
|
-
...
|
|
886
|
-
|
|
887
|
-
def prepend(self, draw_func):
|
|
888
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
889
|
-
the menus draw function
|
|
890
|
-
|
|
891
|
-
:param draw_func:
|
|
892
|
-
"""
|
|
893
|
-
...
|
|
894
|
-
|
|
895
|
-
def property_overridable_library_set(self) -> bool:
|
|
896
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
897
|
-
|
|
898
|
-
:return: True when the overridable status of the property was successfully set.
|
|
899
|
-
:rtype: bool
|
|
900
|
-
"""
|
|
901
|
-
...
|
|
902
|
-
|
|
903
|
-
def property_unset(self):
|
|
904
|
-
"""Unset a property, will use default value afterward."""
|
|
905
|
-
...
|
|
906
|
-
|
|
907
|
-
def remove(self, draw_func):
|
|
908
|
-
"""Remove a draw function that has been added to this menu
|
|
909
|
-
|
|
910
|
-
:param draw_func:
|
|
911
|
-
"""
|
|
912
|
-
...
|
|
913
|
-
|
|
914
|
-
def type_recast(self):
|
|
915
|
-
"""Return a new instance, this is needed because types
|
|
916
|
-
such as textures can be changed at runtime.
|
|
917
|
-
|
|
918
|
-
:return: a new instance of this object with the type initialized again.
|
|
919
|
-
"""
|
|
920
|
-
...
|
|
921
|
-
|
|
922
|
-
def values(self):
|
|
923
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
924
|
-
dictionary function of the same name).
|
|
925
|
-
|
|
926
|
-
:return: custom property values.
|
|
927
|
-
"""
|
|
928
|
-
...
|
|
929
|
-
|
|
930
|
-
class DATA_PT_speaker(DataButtonsPanel, bpy_types._GenericUI):
|
|
931
|
-
COMPAT_ENGINES: typing.Any
|
|
932
|
-
bl_context: typing.Any
|
|
933
|
-
bl_label: typing.Any
|
|
934
|
-
bl_region_type: typing.Any
|
|
935
|
-
bl_rna: typing.Any
|
|
936
|
-
bl_space_type: typing.Any
|
|
937
|
-
id_data: typing.Any
|
|
938
|
-
|
|
939
|
-
def append(self, draw_func):
|
|
940
|
-
"""Append a draw function to this menu,
|
|
941
|
-
takes the same arguments as the menus draw function
|
|
942
|
-
|
|
943
|
-
:param draw_func:
|
|
944
|
-
"""
|
|
945
|
-
...
|
|
946
|
-
|
|
947
|
-
def as_pointer(self) -> int:
|
|
948
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
949
|
-
|
|
950
|
-
:return: int (memory address).
|
|
951
|
-
:rtype: int
|
|
952
|
-
"""
|
|
953
|
-
...
|
|
954
|
-
|
|
955
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
956
|
-
"""
|
|
957
|
-
|
|
958
|
-
:return: The RNA type or default when not found.
|
|
959
|
-
:rtype: bpy.types.Struct
|
|
960
|
-
"""
|
|
961
|
-
...
|
|
962
|
-
|
|
963
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
964
|
-
"""
|
|
965
|
-
|
|
966
|
-
:return: The class or default when not found.
|
|
967
|
-
:rtype: typing.Any
|
|
968
|
-
"""
|
|
969
|
-
...
|
|
970
|
-
|
|
971
|
-
def draw(self, context):
|
|
972
|
-
"""
|
|
973
|
-
|
|
974
|
-
:param context:
|
|
975
|
-
"""
|
|
976
|
-
...
|
|
977
|
-
|
|
978
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
979
|
-
"""Adds driver(s) to the given property
|
|
980
|
-
|
|
981
|
-
:return: The driver(s) added.
|
|
982
|
-
:rtype: bpy.types.FCurve
|
|
983
|
-
"""
|
|
984
|
-
...
|
|
985
|
-
|
|
986
|
-
def driver_remove(self) -> bool:
|
|
987
|
-
"""Remove driver(s) from the given property
|
|
988
|
-
|
|
989
|
-
:return: Success of driver removal.
|
|
990
|
-
:rtype: bool
|
|
991
|
-
"""
|
|
992
|
-
...
|
|
993
|
-
|
|
994
|
-
def get(self):
|
|
995
|
-
"""Returns the value of the custom property assigned to key or default
|
|
996
|
-
when not found (matches Python's dictionary function of the same name).
|
|
997
|
-
|
|
998
|
-
"""
|
|
999
|
-
...
|
|
1000
|
-
|
|
1001
|
-
def id_properties_clear(self):
|
|
1002
|
-
"""
|
|
1003
|
-
|
|
1004
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1005
|
-
"""
|
|
1006
|
-
...
|
|
1007
|
-
|
|
1008
|
-
def id_properties_ensure(self):
|
|
1009
|
-
"""
|
|
1010
|
-
|
|
1011
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1012
|
-
"""
|
|
1013
|
-
...
|
|
1014
|
-
|
|
1015
|
-
def id_properties_ui(self):
|
|
1016
|
-
"""
|
|
1017
|
-
|
|
1018
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1019
|
-
"""
|
|
1020
|
-
...
|
|
1021
|
-
|
|
1022
|
-
def is_extended(self): ...
|
|
1023
|
-
def is_property_hidden(self) -> bool:
|
|
1024
|
-
"""Check if a property is hidden.
|
|
1025
|
-
|
|
1026
|
-
:return: True when the property is hidden.
|
|
1027
|
-
:rtype: bool
|
|
1028
|
-
"""
|
|
1029
|
-
...
|
|
1030
|
-
|
|
1031
|
-
def is_property_overridable_library(self) -> bool:
|
|
1032
|
-
"""Check if a property is overridable.
|
|
1033
|
-
|
|
1034
|
-
:return: True when the property is overridable.
|
|
1035
|
-
:rtype: bool
|
|
1036
|
-
"""
|
|
1037
|
-
...
|
|
1038
|
-
|
|
1039
|
-
def is_property_readonly(self) -> bool:
|
|
1040
|
-
"""Check if a property is readonly.
|
|
1041
|
-
|
|
1042
|
-
:return: True when the property is readonly (not writable).
|
|
1043
|
-
:rtype: bool
|
|
1044
|
-
"""
|
|
1045
|
-
...
|
|
1046
|
-
|
|
1047
|
-
def is_property_set(self) -> bool:
|
|
1048
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1049
|
-
|
|
1050
|
-
:return: True when the property has been set.
|
|
1051
|
-
:rtype: bool
|
|
1052
|
-
"""
|
|
1053
|
-
...
|
|
1054
|
-
|
|
1055
|
-
def items(self):
|
|
1056
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1057
|
-
dictionary function of the same name).
|
|
1058
|
-
|
|
1059
|
-
:return: custom property key, value pairs.
|
|
1060
|
-
"""
|
|
1061
|
-
...
|
|
1062
|
-
|
|
1063
|
-
def keyframe_delete(self) -> bool:
|
|
1064
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1065
|
-
|
|
1066
|
-
:return: Success of keyframe deletion.
|
|
1067
|
-
:rtype: bool
|
|
1068
|
-
"""
|
|
1069
|
-
...
|
|
1070
|
-
|
|
1071
|
-
def keyframe_insert(self) -> bool:
|
|
1072
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1073
|
-
|
|
1074
|
-
:return: Success of keyframe insertion.
|
|
1075
|
-
:rtype: bool
|
|
1076
|
-
"""
|
|
1077
|
-
...
|
|
1078
|
-
|
|
1079
|
-
def keys(self):
|
|
1080
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1081
|
-
dictionary function of the same name).
|
|
1082
|
-
|
|
1083
|
-
:return: custom property keys.
|
|
1084
|
-
"""
|
|
1085
|
-
...
|
|
1086
|
-
|
|
1087
|
-
def path_from_id(self) -> str:
|
|
1088
|
-
"""Returns the data path from the ID to this object (string).
|
|
1089
|
-
|
|
1090
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1091
|
-
to this struct and property (when given).
|
|
1092
|
-
:rtype: str
|
|
1093
|
-
"""
|
|
1094
|
-
...
|
|
1095
|
-
|
|
1096
|
-
def path_resolve(self):
|
|
1097
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1098
|
-
...
|
|
1099
|
-
|
|
1100
|
-
def poll(self, context):
|
|
1101
|
-
"""
|
|
1102
|
-
|
|
1103
|
-
:param context:
|
|
1104
|
-
"""
|
|
1105
|
-
...
|
|
1106
|
-
|
|
1107
|
-
def pop(self):
|
|
1108
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1109
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1110
|
-
|
|
1111
|
-
"""
|
|
1112
|
-
...
|
|
1113
|
-
|
|
1114
|
-
def prepend(self, draw_func):
|
|
1115
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1116
|
-
the menus draw function
|
|
1117
|
-
|
|
1118
|
-
:param draw_func:
|
|
1119
|
-
"""
|
|
1120
|
-
...
|
|
1121
|
-
|
|
1122
|
-
def property_overridable_library_set(self) -> bool:
|
|
1123
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1124
|
-
|
|
1125
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1126
|
-
:rtype: bool
|
|
1127
|
-
"""
|
|
1128
|
-
...
|
|
1129
|
-
|
|
1130
|
-
def property_unset(self):
|
|
1131
|
-
"""Unset a property, will use default value afterward."""
|
|
1132
|
-
...
|
|
1133
|
-
|
|
1134
|
-
def remove(self, draw_func):
|
|
1135
|
-
"""Remove a draw function that has been added to this menu
|
|
1136
|
-
|
|
1137
|
-
:param draw_func:
|
|
1138
|
-
"""
|
|
1139
|
-
...
|
|
1140
|
-
|
|
1141
|
-
def type_recast(self):
|
|
1142
|
-
"""Return a new instance, this is needed because types
|
|
1143
|
-
such as textures can be changed at runtime.
|
|
1144
|
-
|
|
1145
|
-
:return: a new instance of this object with the type initialized again.
|
|
1146
|
-
"""
|
|
1147
|
-
...
|
|
1148
|
-
|
|
1149
|
-
def values(self):
|
|
1150
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1151
|
-
dictionary function of the same name).
|
|
1152
|
-
|
|
1153
|
-
:return: custom property values.
|
|
1154
|
-
"""
|
|
1155
|
-
...
|
|
1156
|
-
|
|
1157
175
|
class DataButtonsPanel:
|
|
1158
176
|
bl_context: typing.Any
|
|
1159
177
|
bl_region_type: typing.Any
|