fake-bpy-module 20240718__py3-none-any.whl → 20240719__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/types/__init__.pyi +65 -1
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/RECORD +119 -119
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.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-20240719.dist-info}/top_level.txt +0 -0
bl_ui/space_time/__init__.pyi
CHANGED
|
@@ -17,27 +17,11 @@ class TIME_HT_editor_buttons:
|
|
|
17
17
|
"""
|
|
18
18
|
...
|
|
19
19
|
|
|
20
|
-
class TIME_MT_cache(bpy_types._GenericUI):
|
|
20
|
+
class TIME_MT_cache(bpy.types.Menu, bpy_types._GenericUI):
|
|
21
21
|
bl_label: typing.Any
|
|
22
22
|
bl_rna: typing.Any
|
|
23
23
|
id_data: typing.Any
|
|
24
24
|
|
|
25
|
-
def append(self, draw_func):
|
|
26
|
-
"""Append a draw function to this menu,
|
|
27
|
-
takes the same arguments as the menus draw function
|
|
28
|
-
|
|
29
|
-
:param draw_func:
|
|
30
|
-
"""
|
|
31
|
-
...
|
|
32
|
-
|
|
33
|
-
def as_pointer(self) -> int:
|
|
34
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
35
|
-
|
|
36
|
-
:return: int (memory address).
|
|
37
|
-
:rtype: int
|
|
38
|
-
"""
|
|
39
|
-
...
|
|
40
|
-
|
|
41
25
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
42
26
|
"""
|
|
43
27
|
|
|
@@ -61,255 +45,12 @@ class TIME_MT_cache(bpy_types._GenericUI):
|
|
|
61
45
|
"""
|
|
62
46
|
...
|
|
63
47
|
|
|
64
|
-
|
|
65
|
-
"""
|
|
66
|
-
|
|
67
|
-
:param context:
|
|
68
|
-
:param layout:
|
|
69
|
-
"""
|
|
70
|
-
...
|
|
71
|
-
|
|
72
|
-
def draw_preset(self, _context):
|
|
73
|
-
"""Define these on the subclass:
|
|
74
|
-
- preset_operator (string)
|
|
75
|
-
- preset_subdir (string)Optionally:
|
|
76
|
-
- preset_add_operator (string)
|
|
77
|
-
- preset_extensions (set of strings)
|
|
78
|
-
- preset_operator_defaults (dict of keyword args)
|
|
79
|
-
|
|
80
|
-
:param _context:
|
|
81
|
-
"""
|
|
82
|
-
...
|
|
83
|
-
|
|
84
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
85
|
-
"""Adds driver(s) to the given property
|
|
86
|
-
|
|
87
|
-
:return: The driver(s) added.
|
|
88
|
-
:rtype: bpy.types.FCurve
|
|
89
|
-
"""
|
|
90
|
-
...
|
|
91
|
-
|
|
92
|
-
def driver_remove(self) -> bool:
|
|
93
|
-
"""Remove driver(s) from the given property
|
|
94
|
-
|
|
95
|
-
:return: Success of driver removal.
|
|
96
|
-
:rtype: bool
|
|
97
|
-
"""
|
|
98
|
-
...
|
|
99
|
-
|
|
100
|
-
def get(self):
|
|
101
|
-
"""Returns the value of the custom property assigned to key or default
|
|
102
|
-
when not found (matches Python's dictionary function of the same name).
|
|
103
|
-
|
|
104
|
-
"""
|
|
105
|
-
...
|
|
106
|
-
|
|
107
|
-
def id_properties_clear(self):
|
|
108
|
-
"""
|
|
109
|
-
|
|
110
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
111
|
-
"""
|
|
112
|
-
...
|
|
113
|
-
|
|
114
|
-
def id_properties_ensure(self):
|
|
115
|
-
"""
|
|
116
|
-
|
|
117
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
118
|
-
"""
|
|
119
|
-
...
|
|
120
|
-
|
|
121
|
-
def id_properties_ui(self):
|
|
122
|
-
"""
|
|
123
|
-
|
|
124
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
125
|
-
"""
|
|
126
|
-
...
|
|
127
|
-
|
|
128
|
-
def is_extended(self): ...
|
|
129
|
-
def is_property_hidden(self) -> bool:
|
|
130
|
-
"""Check if a property is hidden.
|
|
131
|
-
|
|
132
|
-
:return: True when the property is hidden.
|
|
133
|
-
:rtype: bool
|
|
134
|
-
"""
|
|
135
|
-
...
|
|
136
|
-
|
|
137
|
-
def is_property_overridable_library(self) -> bool:
|
|
138
|
-
"""Check if a property is overridable.
|
|
139
|
-
|
|
140
|
-
:return: True when the property is overridable.
|
|
141
|
-
:rtype: bool
|
|
142
|
-
"""
|
|
143
|
-
...
|
|
144
|
-
|
|
145
|
-
def is_property_readonly(self) -> bool:
|
|
146
|
-
"""Check if a property is readonly.
|
|
147
|
-
|
|
148
|
-
:return: True when the property is readonly (not writable).
|
|
149
|
-
:rtype: bool
|
|
150
|
-
"""
|
|
151
|
-
...
|
|
152
|
-
|
|
153
|
-
def is_property_set(self) -> bool:
|
|
154
|
-
"""Check if a property is set, use for testing operator properties.
|
|
155
|
-
|
|
156
|
-
:return: True when the property has been set.
|
|
157
|
-
:rtype: bool
|
|
158
|
-
"""
|
|
159
|
-
...
|
|
160
|
-
|
|
161
|
-
def items(self):
|
|
162
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
163
|
-
dictionary function of the same name).
|
|
164
|
-
|
|
165
|
-
:return: custom property key, value pairs.
|
|
166
|
-
"""
|
|
167
|
-
...
|
|
168
|
-
|
|
169
|
-
def keyframe_delete(self) -> bool:
|
|
170
|
-
"""Remove a keyframe from this properties fcurve.
|
|
171
|
-
|
|
172
|
-
:return: Success of keyframe deletion.
|
|
173
|
-
:rtype: bool
|
|
174
|
-
"""
|
|
175
|
-
...
|
|
176
|
-
|
|
177
|
-
def keyframe_insert(self) -> bool:
|
|
178
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
179
|
-
|
|
180
|
-
:return: Success of keyframe insertion.
|
|
181
|
-
:rtype: bool
|
|
182
|
-
"""
|
|
183
|
-
...
|
|
184
|
-
|
|
185
|
-
def keys(self):
|
|
186
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
187
|
-
dictionary function of the same name).
|
|
188
|
-
|
|
189
|
-
:return: custom property keys.
|
|
190
|
-
"""
|
|
191
|
-
...
|
|
192
|
-
|
|
193
|
-
def path_from_id(self) -> str:
|
|
194
|
-
"""Returns the data path from the ID to this object (string).
|
|
195
|
-
|
|
196
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
197
|
-
to this struct and property (when given).
|
|
198
|
-
:rtype: str
|
|
199
|
-
"""
|
|
200
|
-
...
|
|
201
|
-
|
|
202
|
-
def path_menu(
|
|
203
|
-
self,
|
|
204
|
-
searchpaths: list[str],
|
|
205
|
-
operator: str,
|
|
206
|
-
*,
|
|
207
|
-
props_default: dict = None,
|
|
208
|
-
prop_filepath: str | None = "filepath",
|
|
209
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
210
|
-
filter_path=None,
|
|
211
|
-
display_name: collections.abc.Callable | None = None,
|
|
212
|
-
add_operator=None,
|
|
213
|
-
add_operator_props=None,
|
|
214
|
-
):
|
|
215
|
-
"""Populate a menu from a list of paths.
|
|
216
|
-
|
|
217
|
-
:param searchpaths: Paths to scan.
|
|
218
|
-
:type searchpaths: list[str]
|
|
219
|
-
:param operator: The operator id to use with each file.
|
|
220
|
-
:type operator: str
|
|
221
|
-
:param props_default: Properties to assign to each operator.
|
|
222
|
-
:type props_default: dict
|
|
223
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
224
|
-
:type prop_filepath: str | None
|
|
225
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
226
|
-
|
|
227
|
-
Returning false excludes the file from the list.
|
|
228
|
-
:type filter_ext: collections.abc.Callable | None
|
|
229
|
-
:param filter_path:
|
|
230
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
231
|
-
:type display_name: collections.abc.Callable | None
|
|
232
|
-
:param add_operator:
|
|
233
|
-
:param add_operator_props:
|
|
234
|
-
"""
|
|
235
|
-
...
|
|
236
|
-
|
|
237
|
-
def path_resolve(self):
|
|
238
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
239
|
-
...
|
|
240
|
-
|
|
241
|
-
def pop(self):
|
|
242
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
243
|
-
when not found (matches Python's dictionary function of the same name).
|
|
244
|
-
|
|
245
|
-
"""
|
|
246
|
-
...
|
|
247
|
-
|
|
248
|
-
def prepend(self, draw_func):
|
|
249
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
250
|
-
the menus draw function
|
|
251
|
-
|
|
252
|
-
:param draw_func:
|
|
253
|
-
"""
|
|
254
|
-
...
|
|
255
|
-
|
|
256
|
-
def property_overridable_library_set(self) -> bool:
|
|
257
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
258
|
-
|
|
259
|
-
:return: True when the overridable status of the property was successfully set.
|
|
260
|
-
:rtype: bool
|
|
261
|
-
"""
|
|
262
|
-
...
|
|
263
|
-
|
|
264
|
-
def property_unset(self):
|
|
265
|
-
"""Unset a property, will use default value afterward."""
|
|
266
|
-
...
|
|
267
|
-
|
|
268
|
-
def remove(self, draw_func):
|
|
269
|
-
"""Remove a draw function that has been added to this menu
|
|
270
|
-
|
|
271
|
-
:param draw_func:
|
|
272
|
-
"""
|
|
273
|
-
...
|
|
274
|
-
|
|
275
|
-
def type_recast(self):
|
|
276
|
-
"""Return a new instance, this is needed because types
|
|
277
|
-
such as textures can be changed at runtime.
|
|
278
|
-
|
|
279
|
-
:return: a new instance of this object with the type initialized again.
|
|
280
|
-
"""
|
|
281
|
-
...
|
|
282
|
-
|
|
283
|
-
def values(self):
|
|
284
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
285
|
-
dictionary function of the same name).
|
|
286
|
-
|
|
287
|
-
:return: custom property values.
|
|
288
|
-
"""
|
|
289
|
-
...
|
|
290
|
-
|
|
291
|
-
class TIME_MT_editor_menus(bpy_types._GenericUI):
|
|
48
|
+
class TIME_MT_editor_menus(bpy.types.Menu, bpy_types._GenericUI):
|
|
292
49
|
bl_idname: typing.Any
|
|
293
50
|
bl_label: typing.Any
|
|
294
51
|
bl_rna: typing.Any
|
|
295
52
|
id_data: typing.Any
|
|
296
53
|
|
|
297
|
-
def append(self, draw_func):
|
|
298
|
-
"""Append a draw function to this menu,
|
|
299
|
-
takes the same arguments as the menus draw function
|
|
300
|
-
|
|
301
|
-
:param draw_func:
|
|
302
|
-
"""
|
|
303
|
-
...
|
|
304
|
-
|
|
305
|
-
def as_pointer(self) -> int:
|
|
306
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
307
|
-
|
|
308
|
-
:return: int (memory address).
|
|
309
|
-
:rtype: int
|
|
310
|
-
"""
|
|
311
|
-
...
|
|
312
|
-
|
|
313
54
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
314
55
|
"""
|
|
315
56
|
|
|
@@ -333,254 +74,114 @@ class TIME_MT_editor_menus(bpy_types._GenericUI):
|
|
|
333
74
|
"""
|
|
334
75
|
...
|
|
335
76
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
:param layout:
|
|
341
|
-
"""
|
|
342
|
-
...
|
|
343
|
-
|
|
344
|
-
def draw_preset(self, _context):
|
|
345
|
-
"""Define these on the subclass:
|
|
346
|
-
- preset_operator (string)
|
|
347
|
-
- preset_subdir (string)Optionally:
|
|
348
|
-
- preset_add_operator (string)
|
|
349
|
-
- preset_extensions (set of strings)
|
|
350
|
-
- preset_operator_defaults (dict of keyword args)
|
|
351
|
-
|
|
352
|
-
:param _context:
|
|
353
|
-
"""
|
|
354
|
-
...
|
|
355
|
-
|
|
356
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
357
|
-
"""Adds driver(s) to the given property
|
|
358
|
-
|
|
359
|
-
:return: The driver(s) added.
|
|
360
|
-
:rtype: bpy.types.FCurve
|
|
361
|
-
"""
|
|
362
|
-
...
|
|
363
|
-
|
|
364
|
-
def driver_remove(self) -> bool:
|
|
365
|
-
"""Remove driver(s) from the given property
|
|
366
|
-
|
|
367
|
-
:return: Success of driver removal.
|
|
368
|
-
:rtype: bool
|
|
369
|
-
"""
|
|
370
|
-
...
|
|
371
|
-
|
|
372
|
-
def get(self):
|
|
373
|
-
"""Returns the value of the custom property assigned to key or default
|
|
374
|
-
when not found (matches Python's dictionary function of the same name).
|
|
375
|
-
|
|
376
|
-
"""
|
|
377
|
-
...
|
|
378
|
-
|
|
379
|
-
def id_properties_clear(self):
|
|
380
|
-
"""
|
|
381
|
-
|
|
382
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
383
|
-
"""
|
|
384
|
-
...
|
|
77
|
+
class TIME_MT_marker(bpy.types.Menu, bpy_types._GenericUI):
|
|
78
|
+
bl_label: typing.Any
|
|
79
|
+
bl_rna: typing.Any
|
|
80
|
+
id_data: typing.Any
|
|
385
81
|
|
|
386
|
-
def
|
|
82
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
387
83
|
"""
|
|
388
84
|
|
|
389
|
-
:return:
|
|
85
|
+
:return: The RNA type or default when not found.
|
|
86
|
+
:rtype: bpy.types.Struct
|
|
390
87
|
"""
|
|
391
88
|
...
|
|
392
89
|
|
|
393
|
-
def
|
|
90
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
394
91
|
"""
|
|
395
92
|
|
|
396
|
-
:return:
|
|
93
|
+
:return: The class or default when not found.
|
|
94
|
+
:rtype: typing.Any
|
|
397
95
|
"""
|
|
398
96
|
...
|
|
399
97
|
|
|
400
|
-
def
|
|
401
|
-
def is_property_hidden(self) -> bool:
|
|
402
|
-
"""Check if a property is hidden.
|
|
403
|
-
|
|
404
|
-
:return: True when the property is hidden.
|
|
405
|
-
:rtype: bool
|
|
98
|
+
def draw(self, context):
|
|
406
99
|
"""
|
|
407
|
-
...
|
|
408
100
|
|
|
409
|
-
|
|
410
|
-
"""Check if a property is overridable.
|
|
411
|
-
|
|
412
|
-
:return: True when the property is overridable.
|
|
413
|
-
:rtype: bool
|
|
101
|
+
:param context:
|
|
414
102
|
"""
|
|
415
103
|
...
|
|
416
104
|
|
|
417
|
-
|
|
418
|
-
|
|
105
|
+
class TIME_MT_view(bpy.types.Menu, bpy_types._GenericUI):
|
|
106
|
+
bl_label: typing.Any
|
|
107
|
+
bl_rna: typing.Any
|
|
108
|
+
id_data: typing.Any
|
|
419
109
|
|
|
420
|
-
|
|
421
|
-
:rtype: bool
|
|
110
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
422
111
|
"""
|
|
423
|
-
...
|
|
424
|
-
|
|
425
|
-
def is_property_set(self) -> bool:
|
|
426
|
-
"""Check if a property is set, use for testing operator properties.
|
|
427
112
|
|
|
428
|
-
:return:
|
|
429
|
-
:rtype:
|
|
113
|
+
:return: The RNA type or default when not found.
|
|
114
|
+
:rtype: bpy.types.Struct
|
|
430
115
|
"""
|
|
431
116
|
...
|
|
432
117
|
|
|
433
|
-
def
|
|
434
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
435
|
-
dictionary function of the same name).
|
|
436
|
-
|
|
437
|
-
:return: custom property key, value pairs.
|
|
118
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
438
119
|
"""
|
|
439
|
-
...
|
|
440
|
-
|
|
441
|
-
def keyframe_delete(self) -> bool:
|
|
442
|
-
"""Remove a keyframe from this properties fcurve.
|
|
443
120
|
|
|
444
|
-
:return:
|
|
445
|
-
:rtype:
|
|
121
|
+
:return: The class or default when not found.
|
|
122
|
+
:rtype: typing.Any
|
|
446
123
|
"""
|
|
447
124
|
...
|
|
448
125
|
|
|
449
|
-
def
|
|
450
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
451
|
-
|
|
452
|
-
:return: Success of keyframe insertion.
|
|
453
|
-
:rtype: bool
|
|
126
|
+
def draw(self, context):
|
|
454
127
|
"""
|
|
455
|
-
...
|
|
456
|
-
|
|
457
|
-
def keys(self):
|
|
458
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
459
|
-
dictionary function of the same name).
|
|
460
128
|
|
|
461
|
-
|
|
129
|
+
:param context:
|
|
462
130
|
"""
|
|
463
131
|
...
|
|
464
132
|
|
|
465
|
-
|
|
466
|
-
|
|
133
|
+
class TIME_PT_auto_keyframing(
|
|
134
|
+
bpy.types.Panel, TimelinePanelButtons, bpy_types._GenericUI
|
|
135
|
+
):
|
|
136
|
+
bl_label: typing.Any
|
|
137
|
+
bl_options: typing.Any
|
|
138
|
+
bl_region_type: typing.Any
|
|
139
|
+
bl_rna: typing.Any
|
|
140
|
+
bl_space_type: typing.Any
|
|
141
|
+
bl_ui_units_x: typing.Any
|
|
142
|
+
id_data: typing.Any
|
|
467
143
|
|
|
468
|
-
|
|
469
|
-
to this struct and property (when given).
|
|
470
|
-
:rtype: str
|
|
144
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
471
145
|
"""
|
|
472
|
-
...
|
|
473
146
|
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
searchpaths: list[str],
|
|
477
|
-
operator: str,
|
|
478
|
-
*,
|
|
479
|
-
props_default: dict = None,
|
|
480
|
-
prop_filepath: str | None = "filepath",
|
|
481
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
482
|
-
filter_path=None,
|
|
483
|
-
display_name: collections.abc.Callable | None = None,
|
|
484
|
-
add_operator=None,
|
|
485
|
-
add_operator_props=None,
|
|
486
|
-
):
|
|
487
|
-
"""Populate a menu from a list of paths.
|
|
488
|
-
|
|
489
|
-
:param searchpaths: Paths to scan.
|
|
490
|
-
:type searchpaths: list[str]
|
|
491
|
-
:param operator: The operator id to use with each file.
|
|
492
|
-
:type operator: str
|
|
493
|
-
:param props_default: Properties to assign to each operator.
|
|
494
|
-
:type props_default: dict
|
|
495
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
496
|
-
:type prop_filepath: str | None
|
|
497
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
498
|
-
|
|
499
|
-
Returning false excludes the file from the list.
|
|
500
|
-
:type filter_ext: collections.abc.Callable | None
|
|
501
|
-
:param filter_path:
|
|
502
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
503
|
-
:type display_name: collections.abc.Callable | None
|
|
504
|
-
:param add_operator:
|
|
505
|
-
:param add_operator_props:
|
|
147
|
+
:return: The RNA type or default when not found.
|
|
148
|
+
:rtype: bpy.types.Struct
|
|
506
149
|
"""
|
|
507
150
|
...
|
|
508
151
|
|
|
509
|
-
def
|
|
510
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
511
|
-
...
|
|
512
|
-
|
|
513
|
-
def pop(self):
|
|
514
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
515
|
-
when not found (matches Python's dictionary function of the same name).
|
|
516
|
-
|
|
152
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
517
153
|
"""
|
|
518
|
-
...
|
|
519
|
-
|
|
520
|
-
def prepend(self, draw_func):
|
|
521
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
522
|
-
the menus draw function
|
|
523
154
|
|
|
524
|
-
|
|
155
|
+
:return: The class or default when not found.
|
|
156
|
+
:rtype: typing.Any
|
|
525
157
|
"""
|
|
526
158
|
...
|
|
527
159
|
|
|
528
|
-
def
|
|
529
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
530
|
-
|
|
531
|
-
:return: True when the overridable status of the property was successfully set.
|
|
532
|
-
:rtype: bool
|
|
160
|
+
def draw(self, context):
|
|
533
161
|
"""
|
|
534
|
-
...
|
|
535
|
-
|
|
536
|
-
def property_unset(self):
|
|
537
|
-
"""Unset a property, will use default value afterward."""
|
|
538
|
-
...
|
|
539
|
-
|
|
540
|
-
def remove(self, draw_func):
|
|
541
|
-
"""Remove a draw function that has been added to this menu
|
|
542
162
|
|
|
543
|
-
:param
|
|
163
|
+
:param context:
|
|
544
164
|
"""
|
|
545
165
|
...
|
|
546
166
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
such as textures can be changed at runtime.
|
|
550
|
-
|
|
551
|
-
:return: a new instance of this object with the type initialized again.
|
|
167
|
+
@classmethod
|
|
168
|
+
def poll(cls, context):
|
|
552
169
|
"""
|
|
553
|
-
...
|
|
554
|
-
|
|
555
|
-
def values(self):
|
|
556
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
557
|
-
dictionary function of the same name).
|
|
558
170
|
|
|
559
|
-
|
|
171
|
+
:param context:
|
|
560
172
|
"""
|
|
561
173
|
...
|
|
562
174
|
|
|
563
|
-
class
|
|
175
|
+
class TIME_PT_keyframing_settings(
|
|
176
|
+
bpy.types.Panel, TimelinePanelButtons, bpy_types._GenericUI
|
|
177
|
+
):
|
|
564
178
|
bl_label: typing.Any
|
|
179
|
+
bl_options: typing.Any
|
|
180
|
+
bl_region_type: typing.Any
|
|
565
181
|
bl_rna: typing.Any
|
|
182
|
+
bl_space_type: typing.Any
|
|
566
183
|
id_data: typing.Any
|
|
567
184
|
|
|
568
|
-
def append(self, draw_func):
|
|
569
|
-
"""Append a draw function to this menu,
|
|
570
|
-
takes the same arguments as the menus draw function
|
|
571
|
-
|
|
572
|
-
:param draw_func:
|
|
573
|
-
"""
|
|
574
|
-
...
|
|
575
|
-
|
|
576
|
-
def as_pointer(self) -> int:
|
|
577
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
578
|
-
|
|
579
|
-
:return: int (memory address).
|
|
580
|
-
:rtype: int
|
|
581
|
-
"""
|
|
582
|
-
...
|
|
583
|
-
|
|
584
185
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
585
186
|
"""
|
|
586
187
|
|
|
@@ -604,1199 +205,45 @@ class TIME_MT_marker(bpy_types._GenericUI):
|
|
|
604
205
|
"""
|
|
605
206
|
...
|
|
606
207
|
|
|
607
|
-
|
|
208
|
+
@classmethod
|
|
209
|
+
def poll(cls, context):
|
|
608
210
|
"""
|
|
609
211
|
|
|
610
212
|
:param context:
|
|
611
|
-
:param layout:
|
|
612
|
-
"""
|
|
613
|
-
...
|
|
614
|
-
|
|
615
|
-
def draw_preset(self, _context):
|
|
616
|
-
"""Define these on the subclass:
|
|
617
|
-
- preset_operator (string)
|
|
618
|
-
- preset_subdir (string)Optionally:
|
|
619
|
-
- preset_add_operator (string)
|
|
620
|
-
- preset_extensions (set of strings)
|
|
621
|
-
- preset_operator_defaults (dict of keyword args)
|
|
622
|
-
|
|
623
|
-
:param _context:
|
|
624
|
-
"""
|
|
625
|
-
...
|
|
626
|
-
|
|
627
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
628
|
-
"""Adds driver(s) to the given property
|
|
629
|
-
|
|
630
|
-
:return: The driver(s) added.
|
|
631
|
-
:rtype: bpy.types.FCurve
|
|
632
213
|
"""
|
|
633
214
|
...
|
|
634
215
|
|
|
635
|
-
|
|
636
|
-
|
|
216
|
+
class TIME_PT_playback(bpy.types.Panel, TimelinePanelButtons, bpy_types._GenericUI):
|
|
217
|
+
bl_label: typing.Any
|
|
218
|
+
bl_region_type: typing.Any
|
|
219
|
+
bl_rna: typing.Any
|
|
220
|
+
bl_space_type: typing.Any
|
|
221
|
+
bl_ui_units_x: typing.Any
|
|
222
|
+
id_data: typing.Any
|
|
637
223
|
|
|
638
|
-
|
|
639
|
-
:rtype: bool
|
|
224
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
640
225
|
"""
|
|
641
|
-
...
|
|
642
|
-
|
|
643
|
-
def get(self):
|
|
644
|
-
"""Returns the value of the custom property assigned to key or default
|
|
645
|
-
when not found (matches Python's dictionary function of the same name).
|
|
646
226
|
|
|
227
|
+
:return: The RNA type or default when not found.
|
|
228
|
+
:rtype: bpy.types.Struct
|
|
647
229
|
"""
|
|
648
230
|
...
|
|
649
231
|
|
|
650
|
-
def
|
|
232
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
651
233
|
"""
|
|
652
234
|
|
|
653
|
-
:return:
|
|
235
|
+
:return: The class or default when not found.
|
|
236
|
+
:rtype: typing.Any
|
|
654
237
|
"""
|
|
655
238
|
...
|
|
656
239
|
|
|
657
|
-
def
|
|
658
|
-
"""
|
|
659
|
-
|
|
660
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
661
|
-
"""
|
|
662
|
-
...
|
|
663
|
-
|
|
664
|
-
def id_properties_ui(self):
|
|
665
|
-
"""
|
|
666
|
-
|
|
667
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
668
|
-
"""
|
|
669
|
-
...
|
|
670
|
-
|
|
671
|
-
def is_extended(self): ...
|
|
672
|
-
def is_property_hidden(self) -> bool:
|
|
673
|
-
"""Check if a property is hidden.
|
|
674
|
-
|
|
675
|
-
:return: True when the property is hidden.
|
|
676
|
-
:rtype: bool
|
|
677
|
-
"""
|
|
678
|
-
...
|
|
679
|
-
|
|
680
|
-
def is_property_overridable_library(self) -> bool:
|
|
681
|
-
"""Check if a property is overridable.
|
|
682
|
-
|
|
683
|
-
:return: True when the property is overridable.
|
|
684
|
-
:rtype: bool
|
|
685
|
-
"""
|
|
686
|
-
...
|
|
687
|
-
|
|
688
|
-
def is_property_readonly(self) -> bool:
|
|
689
|
-
"""Check if a property is readonly.
|
|
690
|
-
|
|
691
|
-
:return: True when the property is readonly (not writable).
|
|
692
|
-
:rtype: bool
|
|
693
|
-
"""
|
|
694
|
-
...
|
|
695
|
-
|
|
696
|
-
def is_property_set(self) -> bool:
|
|
697
|
-
"""Check if a property is set, use for testing operator properties.
|
|
698
|
-
|
|
699
|
-
:return: True when the property has been set.
|
|
700
|
-
:rtype: bool
|
|
701
|
-
"""
|
|
702
|
-
...
|
|
703
|
-
|
|
704
|
-
def items(self):
|
|
705
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
706
|
-
dictionary function of the same name).
|
|
707
|
-
|
|
708
|
-
:return: custom property key, value pairs.
|
|
709
|
-
"""
|
|
710
|
-
...
|
|
711
|
-
|
|
712
|
-
def keyframe_delete(self) -> bool:
|
|
713
|
-
"""Remove a keyframe from this properties fcurve.
|
|
714
|
-
|
|
715
|
-
:return: Success of keyframe deletion.
|
|
716
|
-
:rtype: bool
|
|
717
|
-
"""
|
|
718
|
-
...
|
|
719
|
-
|
|
720
|
-
def keyframe_insert(self) -> bool:
|
|
721
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
722
|
-
|
|
723
|
-
:return: Success of keyframe insertion.
|
|
724
|
-
:rtype: bool
|
|
725
|
-
"""
|
|
726
|
-
...
|
|
727
|
-
|
|
728
|
-
def keys(self):
|
|
729
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
730
|
-
dictionary function of the same name).
|
|
731
|
-
|
|
732
|
-
:return: custom property keys.
|
|
733
|
-
"""
|
|
734
|
-
...
|
|
735
|
-
|
|
736
|
-
def path_from_id(self) -> str:
|
|
737
|
-
"""Returns the data path from the ID to this object (string).
|
|
738
|
-
|
|
739
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
740
|
-
to this struct and property (when given).
|
|
741
|
-
:rtype: str
|
|
742
|
-
"""
|
|
743
|
-
...
|
|
744
|
-
|
|
745
|
-
def path_menu(
|
|
746
|
-
self,
|
|
747
|
-
searchpaths: list[str],
|
|
748
|
-
operator: str,
|
|
749
|
-
*,
|
|
750
|
-
props_default: dict = None,
|
|
751
|
-
prop_filepath: str | None = "filepath",
|
|
752
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
753
|
-
filter_path=None,
|
|
754
|
-
display_name: collections.abc.Callable | None = None,
|
|
755
|
-
add_operator=None,
|
|
756
|
-
add_operator_props=None,
|
|
757
|
-
):
|
|
758
|
-
"""Populate a menu from a list of paths.
|
|
759
|
-
|
|
760
|
-
:param searchpaths: Paths to scan.
|
|
761
|
-
:type searchpaths: list[str]
|
|
762
|
-
:param operator: The operator id to use with each file.
|
|
763
|
-
:type operator: str
|
|
764
|
-
:param props_default: Properties to assign to each operator.
|
|
765
|
-
:type props_default: dict
|
|
766
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
767
|
-
:type prop_filepath: str | None
|
|
768
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
769
|
-
|
|
770
|
-
Returning false excludes the file from the list.
|
|
771
|
-
:type filter_ext: collections.abc.Callable | None
|
|
772
|
-
:param filter_path:
|
|
773
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
774
|
-
:type display_name: collections.abc.Callable | None
|
|
775
|
-
:param add_operator:
|
|
776
|
-
:param add_operator_props:
|
|
777
|
-
"""
|
|
778
|
-
...
|
|
779
|
-
|
|
780
|
-
def path_resolve(self):
|
|
781
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
782
|
-
...
|
|
783
|
-
|
|
784
|
-
def pop(self):
|
|
785
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
786
|
-
when not found (matches Python's dictionary function of the same name).
|
|
787
|
-
|
|
788
|
-
"""
|
|
789
|
-
...
|
|
790
|
-
|
|
791
|
-
def prepend(self, draw_func):
|
|
792
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
793
|
-
the menus draw function
|
|
794
|
-
|
|
795
|
-
:param draw_func:
|
|
796
|
-
"""
|
|
797
|
-
...
|
|
798
|
-
|
|
799
|
-
def property_overridable_library_set(self) -> bool:
|
|
800
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
801
|
-
|
|
802
|
-
:return: True when the overridable status of the property was successfully set.
|
|
803
|
-
:rtype: bool
|
|
804
|
-
"""
|
|
805
|
-
...
|
|
806
|
-
|
|
807
|
-
def property_unset(self):
|
|
808
|
-
"""Unset a property, will use default value afterward."""
|
|
809
|
-
...
|
|
810
|
-
|
|
811
|
-
def remove(self, draw_func):
|
|
812
|
-
"""Remove a draw function that has been added to this menu
|
|
813
|
-
|
|
814
|
-
:param draw_func:
|
|
815
|
-
"""
|
|
816
|
-
...
|
|
817
|
-
|
|
818
|
-
def type_recast(self):
|
|
819
|
-
"""Return a new instance, this is needed because types
|
|
820
|
-
such as textures can be changed at runtime.
|
|
821
|
-
|
|
822
|
-
:return: a new instance of this object with the type initialized again.
|
|
823
|
-
"""
|
|
824
|
-
...
|
|
825
|
-
|
|
826
|
-
def values(self):
|
|
827
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
828
|
-
dictionary function of the same name).
|
|
829
|
-
|
|
830
|
-
:return: custom property values.
|
|
831
|
-
"""
|
|
832
|
-
...
|
|
833
|
-
|
|
834
|
-
class TIME_MT_view(bpy_types._GenericUI):
|
|
835
|
-
bl_label: typing.Any
|
|
836
|
-
bl_rna: typing.Any
|
|
837
|
-
id_data: typing.Any
|
|
838
|
-
|
|
839
|
-
def append(self, draw_func):
|
|
840
|
-
"""Append a draw function to this menu,
|
|
841
|
-
takes the same arguments as the menus draw function
|
|
842
|
-
|
|
843
|
-
:param draw_func:
|
|
844
|
-
"""
|
|
845
|
-
...
|
|
846
|
-
|
|
847
|
-
def as_pointer(self) -> int:
|
|
848
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
849
|
-
|
|
850
|
-
:return: int (memory address).
|
|
851
|
-
:rtype: int
|
|
852
|
-
"""
|
|
853
|
-
...
|
|
854
|
-
|
|
855
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
856
|
-
"""
|
|
857
|
-
|
|
858
|
-
:return: The RNA type or default when not found.
|
|
859
|
-
:rtype: bpy.types.Struct
|
|
860
|
-
"""
|
|
861
|
-
...
|
|
862
|
-
|
|
863
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
864
|
-
"""
|
|
865
|
-
|
|
866
|
-
:return: The class or default when not found.
|
|
867
|
-
:rtype: typing.Any
|
|
868
|
-
"""
|
|
869
|
-
...
|
|
870
|
-
|
|
871
|
-
def draw(self, context):
|
|
872
|
-
"""
|
|
873
|
-
|
|
874
|
-
:param context:
|
|
875
|
-
"""
|
|
876
|
-
...
|
|
877
|
-
|
|
878
|
-
def draw_collapsible(self, context, layout):
|
|
879
|
-
"""
|
|
880
|
-
|
|
881
|
-
:param context:
|
|
882
|
-
:param layout:
|
|
883
|
-
"""
|
|
884
|
-
...
|
|
885
|
-
|
|
886
|
-
def draw_preset(self, _context):
|
|
887
|
-
"""Define these on the subclass:
|
|
888
|
-
- preset_operator (string)
|
|
889
|
-
- preset_subdir (string)Optionally:
|
|
890
|
-
- preset_add_operator (string)
|
|
891
|
-
- preset_extensions (set of strings)
|
|
892
|
-
- preset_operator_defaults (dict of keyword args)
|
|
893
|
-
|
|
894
|
-
:param _context:
|
|
895
|
-
"""
|
|
896
|
-
...
|
|
897
|
-
|
|
898
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
899
|
-
"""Adds driver(s) to the given property
|
|
900
|
-
|
|
901
|
-
:return: The driver(s) added.
|
|
902
|
-
:rtype: bpy.types.FCurve
|
|
903
|
-
"""
|
|
904
|
-
...
|
|
905
|
-
|
|
906
|
-
def driver_remove(self) -> bool:
|
|
907
|
-
"""Remove driver(s) from the given property
|
|
908
|
-
|
|
909
|
-
:return: Success of driver removal.
|
|
910
|
-
:rtype: bool
|
|
911
|
-
"""
|
|
912
|
-
...
|
|
913
|
-
|
|
914
|
-
def get(self):
|
|
915
|
-
"""Returns the value of the custom property assigned to key or default
|
|
916
|
-
when not found (matches Python's dictionary function of the same name).
|
|
917
|
-
|
|
918
|
-
"""
|
|
919
|
-
...
|
|
920
|
-
|
|
921
|
-
def id_properties_clear(self):
|
|
922
|
-
"""
|
|
923
|
-
|
|
924
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
925
|
-
"""
|
|
926
|
-
...
|
|
927
|
-
|
|
928
|
-
def id_properties_ensure(self):
|
|
929
|
-
"""
|
|
930
|
-
|
|
931
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
932
|
-
"""
|
|
933
|
-
...
|
|
934
|
-
|
|
935
|
-
def id_properties_ui(self):
|
|
936
|
-
"""
|
|
937
|
-
|
|
938
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
939
|
-
"""
|
|
940
|
-
...
|
|
941
|
-
|
|
942
|
-
def is_extended(self): ...
|
|
943
|
-
def is_property_hidden(self) -> bool:
|
|
944
|
-
"""Check if a property is hidden.
|
|
945
|
-
|
|
946
|
-
:return: True when the property is hidden.
|
|
947
|
-
:rtype: bool
|
|
948
|
-
"""
|
|
949
|
-
...
|
|
950
|
-
|
|
951
|
-
def is_property_overridable_library(self) -> bool:
|
|
952
|
-
"""Check if a property is overridable.
|
|
953
|
-
|
|
954
|
-
:return: True when the property is overridable.
|
|
955
|
-
:rtype: bool
|
|
956
|
-
"""
|
|
957
|
-
...
|
|
958
|
-
|
|
959
|
-
def is_property_readonly(self) -> bool:
|
|
960
|
-
"""Check if a property is readonly.
|
|
961
|
-
|
|
962
|
-
:return: True when the property is readonly (not writable).
|
|
963
|
-
:rtype: bool
|
|
964
|
-
"""
|
|
965
|
-
...
|
|
966
|
-
|
|
967
|
-
def is_property_set(self) -> bool:
|
|
968
|
-
"""Check if a property is set, use for testing operator properties.
|
|
969
|
-
|
|
970
|
-
:return: True when the property has been set.
|
|
971
|
-
:rtype: bool
|
|
972
|
-
"""
|
|
973
|
-
...
|
|
974
|
-
|
|
975
|
-
def items(self):
|
|
976
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
977
|
-
dictionary function of the same name).
|
|
978
|
-
|
|
979
|
-
:return: custom property key, value pairs.
|
|
980
|
-
"""
|
|
981
|
-
...
|
|
982
|
-
|
|
983
|
-
def keyframe_delete(self) -> bool:
|
|
984
|
-
"""Remove a keyframe from this properties fcurve.
|
|
985
|
-
|
|
986
|
-
:return: Success of keyframe deletion.
|
|
987
|
-
:rtype: bool
|
|
988
|
-
"""
|
|
989
|
-
...
|
|
990
|
-
|
|
991
|
-
def keyframe_insert(self) -> bool:
|
|
992
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
993
|
-
|
|
994
|
-
:return: Success of keyframe insertion.
|
|
995
|
-
:rtype: bool
|
|
996
|
-
"""
|
|
997
|
-
...
|
|
998
|
-
|
|
999
|
-
def keys(self):
|
|
1000
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1001
|
-
dictionary function of the same name).
|
|
1002
|
-
|
|
1003
|
-
:return: custom property keys.
|
|
1004
|
-
"""
|
|
1005
|
-
...
|
|
1006
|
-
|
|
1007
|
-
def path_from_id(self) -> str:
|
|
1008
|
-
"""Returns the data path from the ID to this object (string).
|
|
1009
|
-
|
|
1010
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1011
|
-
to this struct and property (when given).
|
|
1012
|
-
:rtype: str
|
|
1013
|
-
"""
|
|
1014
|
-
...
|
|
1015
|
-
|
|
1016
|
-
def path_menu(
|
|
1017
|
-
self,
|
|
1018
|
-
searchpaths: list[str],
|
|
1019
|
-
operator: str,
|
|
1020
|
-
*,
|
|
1021
|
-
props_default: dict = None,
|
|
1022
|
-
prop_filepath: str | None = "filepath",
|
|
1023
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
1024
|
-
filter_path=None,
|
|
1025
|
-
display_name: collections.abc.Callable | None = None,
|
|
1026
|
-
add_operator=None,
|
|
1027
|
-
add_operator_props=None,
|
|
1028
|
-
):
|
|
1029
|
-
"""Populate a menu from a list of paths.
|
|
1030
|
-
|
|
1031
|
-
:param searchpaths: Paths to scan.
|
|
1032
|
-
:type searchpaths: list[str]
|
|
1033
|
-
:param operator: The operator id to use with each file.
|
|
1034
|
-
:type operator: str
|
|
1035
|
-
:param props_default: Properties to assign to each operator.
|
|
1036
|
-
:type props_default: dict
|
|
1037
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
1038
|
-
:type prop_filepath: str | None
|
|
1039
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
1040
|
-
|
|
1041
|
-
Returning false excludes the file from the list.
|
|
1042
|
-
:type filter_ext: collections.abc.Callable | None
|
|
1043
|
-
:param filter_path:
|
|
1044
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
1045
|
-
:type display_name: collections.abc.Callable | None
|
|
1046
|
-
:param add_operator:
|
|
1047
|
-
:param add_operator_props:
|
|
1048
|
-
"""
|
|
1049
|
-
...
|
|
1050
|
-
|
|
1051
|
-
def path_resolve(self):
|
|
1052
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1053
|
-
...
|
|
1054
|
-
|
|
1055
|
-
def pop(self):
|
|
1056
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1057
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1058
|
-
|
|
1059
|
-
"""
|
|
1060
|
-
...
|
|
1061
|
-
|
|
1062
|
-
def prepend(self, draw_func):
|
|
1063
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1064
|
-
the menus draw function
|
|
1065
|
-
|
|
1066
|
-
:param draw_func:
|
|
1067
|
-
"""
|
|
1068
|
-
...
|
|
1069
|
-
|
|
1070
|
-
def property_overridable_library_set(self) -> bool:
|
|
1071
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1072
|
-
|
|
1073
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1074
|
-
:rtype: bool
|
|
1075
|
-
"""
|
|
1076
|
-
...
|
|
1077
|
-
|
|
1078
|
-
def property_unset(self):
|
|
1079
|
-
"""Unset a property, will use default value afterward."""
|
|
1080
|
-
...
|
|
1081
|
-
|
|
1082
|
-
def remove(self, draw_func):
|
|
1083
|
-
"""Remove a draw function that has been added to this menu
|
|
1084
|
-
|
|
1085
|
-
:param draw_func:
|
|
1086
|
-
"""
|
|
1087
|
-
...
|
|
1088
|
-
|
|
1089
|
-
def type_recast(self):
|
|
1090
|
-
"""Return a new instance, this is needed because types
|
|
1091
|
-
such as textures can be changed at runtime.
|
|
1092
|
-
|
|
1093
|
-
:return: a new instance of this object with the type initialized again.
|
|
1094
|
-
"""
|
|
1095
|
-
...
|
|
1096
|
-
|
|
1097
|
-
def values(self):
|
|
1098
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1099
|
-
dictionary function of the same name).
|
|
1100
|
-
|
|
1101
|
-
:return: custom property values.
|
|
1102
|
-
"""
|
|
1103
|
-
...
|
|
1104
|
-
|
|
1105
|
-
class TIME_PT_auto_keyframing(TimelinePanelButtons, bpy_types._GenericUI):
|
|
1106
|
-
bl_label: typing.Any
|
|
1107
|
-
bl_options: typing.Any
|
|
1108
|
-
bl_region_type: typing.Any
|
|
1109
|
-
bl_rna: typing.Any
|
|
1110
|
-
bl_space_type: typing.Any
|
|
1111
|
-
bl_ui_units_x: typing.Any
|
|
1112
|
-
id_data: typing.Any
|
|
1113
|
-
|
|
1114
|
-
def append(self, draw_func):
|
|
1115
|
-
"""Append a draw function to this menu,
|
|
1116
|
-
takes the same arguments as the menus draw function
|
|
1117
|
-
|
|
1118
|
-
:param draw_func:
|
|
1119
|
-
"""
|
|
1120
|
-
...
|
|
1121
|
-
|
|
1122
|
-
def as_pointer(self) -> int:
|
|
1123
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1124
|
-
|
|
1125
|
-
:return: int (memory address).
|
|
1126
|
-
:rtype: int
|
|
1127
|
-
"""
|
|
1128
|
-
...
|
|
1129
|
-
|
|
1130
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1131
|
-
"""
|
|
1132
|
-
|
|
1133
|
-
:return: The RNA type or default when not found.
|
|
1134
|
-
:rtype: bpy.types.Struct
|
|
1135
|
-
"""
|
|
1136
|
-
...
|
|
1137
|
-
|
|
1138
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1139
|
-
"""
|
|
1140
|
-
|
|
1141
|
-
:return: The class or default when not found.
|
|
1142
|
-
:rtype: typing.Any
|
|
1143
|
-
"""
|
|
1144
|
-
...
|
|
1145
|
-
|
|
1146
|
-
def draw(self, context):
|
|
1147
|
-
"""
|
|
1148
|
-
|
|
1149
|
-
:param context:
|
|
1150
|
-
"""
|
|
1151
|
-
...
|
|
1152
|
-
|
|
1153
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1154
|
-
"""Adds driver(s) to the given property
|
|
1155
|
-
|
|
1156
|
-
:return: The driver(s) added.
|
|
1157
|
-
:rtype: bpy.types.FCurve
|
|
1158
|
-
"""
|
|
1159
|
-
...
|
|
1160
|
-
|
|
1161
|
-
def driver_remove(self) -> bool:
|
|
1162
|
-
"""Remove driver(s) from the given property
|
|
1163
|
-
|
|
1164
|
-
:return: Success of driver removal.
|
|
1165
|
-
:rtype: bool
|
|
1166
|
-
"""
|
|
1167
|
-
...
|
|
1168
|
-
|
|
1169
|
-
def get(self):
|
|
1170
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1171
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1172
|
-
|
|
1173
|
-
"""
|
|
1174
|
-
...
|
|
1175
|
-
|
|
1176
|
-
def has_timeline(self, context):
|
|
1177
|
-
"""
|
|
1178
|
-
|
|
1179
|
-
:param context:
|
|
1180
|
-
"""
|
|
1181
|
-
...
|
|
1182
|
-
|
|
1183
|
-
def id_properties_clear(self):
|
|
1184
|
-
"""
|
|
1185
|
-
|
|
1186
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1187
|
-
"""
|
|
1188
|
-
...
|
|
1189
|
-
|
|
1190
|
-
def id_properties_ensure(self):
|
|
1191
|
-
"""
|
|
1192
|
-
|
|
1193
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1194
|
-
"""
|
|
1195
|
-
...
|
|
1196
|
-
|
|
1197
|
-
def id_properties_ui(self):
|
|
1198
|
-
"""
|
|
1199
|
-
|
|
1200
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1201
|
-
"""
|
|
1202
|
-
...
|
|
1203
|
-
|
|
1204
|
-
def is_extended(self): ...
|
|
1205
|
-
def is_property_hidden(self) -> bool:
|
|
1206
|
-
"""Check if a property is hidden.
|
|
1207
|
-
|
|
1208
|
-
:return: True when the property is hidden.
|
|
1209
|
-
:rtype: bool
|
|
1210
|
-
"""
|
|
1211
|
-
...
|
|
1212
|
-
|
|
1213
|
-
def is_property_overridable_library(self) -> bool:
|
|
1214
|
-
"""Check if a property is overridable.
|
|
1215
|
-
|
|
1216
|
-
:return: True when the property is overridable.
|
|
1217
|
-
:rtype: bool
|
|
1218
|
-
"""
|
|
1219
|
-
...
|
|
1220
|
-
|
|
1221
|
-
def is_property_readonly(self) -> bool:
|
|
1222
|
-
"""Check if a property is readonly.
|
|
1223
|
-
|
|
1224
|
-
:return: True when the property is readonly (not writable).
|
|
1225
|
-
:rtype: bool
|
|
1226
|
-
"""
|
|
1227
|
-
...
|
|
1228
|
-
|
|
1229
|
-
def is_property_set(self) -> bool:
|
|
1230
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1231
|
-
|
|
1232
|
-
:return: True when the property has been set.
|
|
1233
|
-
:rtype: bool
|
|
1234
|
-
"""
|
|
1235
|
-
...
|
|
1236
|
-
|
|
1237
|
-
def items(self):
|
|
1238
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1239
|
-
dictionary function of the same name).
|
|
1240
|
-
|
|
1241
|
-
:return: custom property key, value pairs.
|
|
1242
|
-
"""
|
|
1243
|
-
...
|
|
1244
|
-
|
|
1245
|
-
def keyframe_delete(self) -> bool:
|
|
1246
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1247
|
-
|
|
1248
|
-
:return: Success of keyframe deletion.
|
|
1249
|
-
:rtype: bool
|
|
1250
|
-
"""
|
|
1251
|
-
...
|
|
1252
|
-
|
|
1253
|
-
def keyframe_insert(self) -> bool:
|
|
1254
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1255
|
-
|
|
1256
|
-
:return: Success of keyframe insertion.
|
|
1257
|
-
:rtype: bool
|
|
1258
|
-
"""
|
|
1259
|
-
...
|
|
1260
|
-
|
|
1261
|
-
def keys(self):
|
|
1262
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1263
|
-
dictionary function of the same name).
|
|
1264
|
-
|
|
1265
|
-
:return: custom property keys.
|
|
1266
|
-
"""
|
|
1267
|
-
...
|
|
1268
|
-
|
|
1269
|
-
def path_from_id(self) -> str:
|
|
1270
|
-
"""Returns the data path from the ID to this object (string).
|
|
1271
|
-
|
|
1272
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1273
|
-
to this struct and property (when given).
|
|
1274
|
-
:rtype: str
|
|
1275
|
-
"""
|
|
1276
|
-
...
|
|
1277
|
-
|
|
1278
|
-
def path_resolve(self):
|
|
1279
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1280
|
-
...
|
|
1281
|
-
|
|
1282
|
-
@classmethod
|
|
1283
|
-
def poll(cls, context):
|
|
1284
|
-
"""
|
|
1285
|
-
|
|
1286
|
-
:param context:
|
|
1287
|
-
"""
|
|
1288
|
-
...
|
|
1289
|
-
|
|
1290
|
-
def pop(self):
|
|
1291
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1292
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1293
|
-
|
|
1294
|
-
"""
|
|
1295
|
-
...
|
|
1296
|
-
|
|
1297
|
-
def prepend(self, draw_func):
|
|
1298
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1299
|
-
the menus draw function
|
|
1300
|
-
|
|
1301
|
-
:param draw_func:
|
|
1302
|
-
"""
|
|
1303
|
-
...
|
|
1304
|
-
|
|
1305
|
-
def property_overridable_library_set(self) -> bool:
|
|
1306
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1307
|
-
|
|
1308
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1309
|
-
:rtype: bool
|
|
1310
|
-
"""
|
|
1311
|
-
...
|
|
1312
|
-
|
|
1313
|
-
def property_unset(self):
|
|
1314
|
-
"""Unset a property, will use default value afterward."""
|
|
1315
|
-
...
|
|
1316
|
-
|
|
1317
|
-
def remove(self, draw_func):
|
|
1318
|
-
"""Remove a draw function that has been added to this menu
|
|
1319
|
-
|
|
1320
|
-
:param draw_func:
|
|
1321
|
-
"""
|
|
1322
|
-
...
|
|
1323
|
-
|
|
1324
|
-
def type_recast(self):
|
|
1325
|
-
"""Return a new instance, this is needed because types
|
|
1326
|
-
such as textures can be changed at runtime.
|
|
1327
|
-
|
|
1328
|
-
:return: a new instance of this object with the type initialized again.
|
|
1329
|
-
"""
|
|
1330
|
-
...
|
|
1331
|
-
|
|
1332
|
-
def values(self):
|
|
1333
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1334
|
-
dictionary function of the same name).
|
|
1335
|
-
|
|
1336
|
-
:return: custom property values.
|
|
1337
|
-
"""
|
|
1338
|
-
...
|
|
1339
|
-
|
|
1340
|
-
class TIME_PT_keyframing_settings(TimelinePanelButtons, bpy_types._GenericUI):
|
|
1341
|
-
bl_label: typing.Any
|
|
1342
|
-
bl_options: typing.Any
|
|
1343
|
-
bl_region_type: typing.Any
|
|
1344
|
-
bl_rna: typing.Any
|
|
1345
|
-
bl_space_type: typing.Any
|
|
1346
|
-
id_data: typing.Any
|
|
1347
|
-
|
|
1348
|
-
def append(self, draw_func):
|
|
1349
|
-
"""Append a draw function to this menu,
|
|
1350
|
-
takes the same arguments as the menus draw function
|
|
1351
|
-
|
|
1352
|
-
:param draw_func:
|
|
1353
|
-
"""
|
|
1354
|
-
...
|
|
1355
|
-
|
|
1356
|
-
def as_pointer(self) -> int:
|
|
1357
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1358
|
-
|
|
1359
|
-
:return: int (memory address).
|
|
1360
|
-
:rtype: int
|
|
1361
|
-
"""
|
|
1362
|
-
...
|
|
1363
|
-
|
|
1364
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1365
|
-
"""
|
|
1366
|
-
|
|
1367
|
-
:return: The RNA type or default when not found.
|
|
1368
|
-
:rtype: bpy.types.Struct
|
|
1369
|
-
"""
|
|
1370
|
-
...
|
|
1371
|
-
|
|
1372
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1373
|
-
"""
|
|
1374
|
-
|
|
1375
|
-
:return: The class or default when not found.
|
|
1376
|
-
:rtype: typing.Any
|
|
1377
|
-
"""
|
|
1378
|
-
...
|
|
1379
|
-
|
|
1380
|
-
def draw(self, context):
|
|
1381
|
-
"""
|
|
1382
|
-
|
|
1383
|
-
:param context:
|
|
1384
|
-
"""
|
|
1385
|
-
...
|
|
1386
|
-
|
|
1387
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1388
|
-
"""Adds driver(s) to the given property
|
|
1389
|
-
|
|
1390
|
-
:return: The driver(s) added.
|
|
1391
|
-
:rtype: bpy.types.FCurve
|
|
1392
|
-
"""
|
|
1393
|
-
...
|
|
1394
|
-
|
|
1395
|
-
def driver_remove(self) -> bool:
|
|
1396
|
-
"""Remove driver(s) from the given property
|
|
1397
|
-
|
|
1398
|
-
:return: Success of driver removal.
|
|
1399
|
-
:rtype: bool
|
|
1400
|
-
"""
|
|
1401
|
-
...
|
|
1402
|
-
|
|
1403
|
-
def get(self):
|
|
1404
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1405
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1406
|
-
|
|
1407
|
-
"""
|
|
1408
|
-
...
|
|
1409
|
-
|
|
1410
|
-
def has_timeline(self, context):
|
|
1411
|
-
"""
|
|
1412
|
-
|
|
1413
|
-
:param context:
|
|
1414
|
-
"""
|
|
1415
|
-
...
|
|
1416
|
-
|
|
1417
|
-
def id_properties_clear(self):
|
|
1418
|
-
"""
|
|
1419
|
-
|
|
1420
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1421
|
-
"""
|
|
1422
|
-
...
|
|
1423
|
-
|
|
1424
|
-
def id_properties_ensure(self):
|
|
1425
|
-
"""
|
|
1426
|
-
|
|
1427
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1428
|
-
"""
|
|
1429
|
-
...
|
|
1430
|
-
|
|
1431
|
-
def id_properties_ui(self):
|
|
1432
|
-
"""
|
|
1433
|
-
|
|
1434
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1435
|
-
"""
|
|
1436
|
-
...
|
|
1437
|
-
|
|
1438
|
-
def is_extended(self): ...
|
|
1439
|
-
def is_property_hidden(self) -> bool:
|
|
1440
|
-
"""Check if a property is hidden.
|
|
1441
|
-
|
|
1442
|
-
:return: True when the property is hidden.
|
|
1443
|
-
:rtype: bool
|
|
1444
|
-
"""
|
|
1445
|
-
...
|
|
1446
|
-
|
|
1447
|
-
def is_property_overridable_library(self) -> bool:
|
|
1448
|
-
"""Check if a property is overridable.
|
|
1449
|
-
|
|
1450
|
-
:return: True when the property is overridable.
|
|
1451
|
-
:rtype: bool
|
|
1452
|
-
"""
|
|
1453
|
-
...
|
|
1454
|
-
|
|
1455
|
-
def is_property_readonly(self) -> bool:
|
|
1456
|
-
"""Check if a property is readonly.
|
|
1457
|
-
|
|
1458
|
-
:return: True when the property is readonly (not writable).
|
|
1459
|
-
:rtype: bool
|
|
1460
|
-
"""
|
|
1461
|
-
...
|
|
1462
|
-
|
|
1463
|
-
def is_property_set(self) -> bool:
|
|
1464
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1465
|
-
|
|
1466
|
-
:return: True when the property has been set.
|
|
1467
|
-
:rtype: bool
|
|
1468
|
-
"""
|
|
1469
|
-
...
|
|
1470
|
-
|
|
1471
|
-
def items(self):
|
|
1472
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1473
|
-
dictionary function of the same name).
|
|
1474
|
-
|
|
1475
|
-
:return: custom property key, value pairs.
|
|
1476
|
-
"""
|
|
1477
|
-
...
|
|
1478
|
-
|
|
1479
|
-
def keyframe_delete(self) -> bool:
|
|
1480
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1481
|
-
|
|
1482
|
-
:return: Success of keyframe deletion.
|
|
1483
|
-
:rtype: bool
|
|
1484
|
-
"""
|
|
1485
|
-
...
|
|
1486
|
-
|
|
1487
|
-
def keyframe_insert(self) -> bool:
|
|
1488
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1489
|
-
|
|
1490
|
-
:return: Success of keyframe insertion.
|
|
1491
|
-
:rtype: bool
|
|
1492
|
-
"""
|
|
1493
|
-
...
|
|
1494
|
-
|
|
1495
|
-
def keys(self):
|
|
1496
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1497
|
-
dictionary function of the same name).
|
|
1498
|
-
|
|
1499
|
-
:return: custom property keys.
|
|
1500
|
-
"""
|
|
1501
|
-
...
|
|
1502
|
-
|
|
1503
|
-
def path_from_id(self) -> str:
|
|
1504
|
-
"""Returns the data path from the ID to this object (string).
|
|
1505
|
-
|
|
1506
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1507
|
-
to this struct and property (when given).
|
|
1508
|
-
:rtype: str
|
|
1509
|
-
"""
|
|
1510
|
-
...
|
|
1511
|
-
|
|
1512
|
-
def path_resolve(self):
|
|
1513
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1514
|
-
...
|
|
1515
|
-
|
|
1516
|
-
@classmethod
|
|
1517
|
-
def poll(cls, context):
|
|
1518
|
-
"""
|
|
1519
|
-
|
|
1520
|
-
:param context:
|
|
1521
|
-
"""
|
|
1522
|
-
...
|
|
1523
|
-
|
|
1524
|
-
def pop(self):
|
|
1525
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1526
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1527
|
-
|
|
1528
|
-
"""
|
|
1529
|
-
...
|
|
1530
|
-
|
|
1531
|
-
def prepend(self, draw_func):
|
|
1532
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1533
|
-
the menus draw function
|
|
1534
|
-
|
|
1535
|
-
:param draw_func:
|
|
1536
|
-
"""
|
|
1537
|
-
...
|
|
1538
|
-
|
|
1539
|
-
def property_overridable_library_set(self) -> bool:
|
|
1540
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1541
|
-
|
|
1542
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1543
|
-
:rtype: bool
|
|
1544
|
-
"""
|
|
1545
|
-
...
|
|
1546
|
-
|
|
1547
|
-
def property_unset(self):
|
|
1548
|
-
"""Unset a property, will use default value afterward."""
|
|
1549
|
-
...
|
|
1550
|
-
|
|
1551
|
-
def remove(self, draw_func):
|
|
1552
|
-
"""Remove a draw function that has been added to this menu
|
|
1553
|
-
|
|
1554
|
-
:param draw_func:
|
|
1555
|
-
"""
|
|
1556
|
-
...
|
|
1557
|
-
|
|
1558
|
-
def type_recast(self):
|
|
1559
|
-
"""Return a new instance, this is needed because types
|
|
1560
|
-
such as textures can be changed at runtime.
|
|
1561
|
-
|
|
1562
|
-
:return: a new instance of this object with the type initialized again.
|
|
1563
|
-
"""
|
|
1564
|
-
...
|
|
1565
|
-
|
|
1566
|
-
def values(self):
|
|
1567
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1568
|
-
dictionary function of the same name).
|
|
1569
|
-
|
|
1570
|
-
:return: custom property values.
|
|
1571
|
-
"""
|
|
1572
|
-
...
|
|
1573
|
-
|
|
1574
|
-
class TIME_PT_playback(TimelinePanelButtons, bpy_types._GenericUI):
|
|
1575
|
-
bl_label: typing.Any
|
|
1576
|
-
bl_region_type: typing.Any
|
|
1577
|
-
bl_rna: typing.Any
|
|
1578
|
-
bl_space_type: typing.Any
|
|
1579
|
-
bl_ui_units_x: typing.Any
|
|
1580
|
-
id_data: typing.Any
|
|
1581
|
-
|
|
1582
|
-
def append(self, draw_func):
|
|
1583
|
-
"""Append a draw function to this menu,
|
|
1584
|
-
takes the same arguments as the menus draw function
|
|
1585
|
-
|
|
1586
|
-
:param draw_func:
|
|
1587
|
-
"""
|
|
1588
|
-
...
|
|
1589
|
-
|
|
1590
|
-
def as_pointer(self) -> int:
|
|
1591
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1592
|
-
|
|
1593
|
-
:return: int (memory address).
|
|
1594
|
-
:rtype: int
|
|
1595
|
-
"""
|
|
1596
|
-
...
|
|
1597
|
-
|
|
1598
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1599
|
-
"""
|
|
1600
|
-
|
|
1601
|
-
:return: The RNA type or default when not found.
|
|
1602
|
-
:rtype: bpy.types.Struct
|
|
1603
|
-
"""
|
|
1604
|
-
...
|
|
1605
|
-
|
|
1606
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1607
|
-
"""
|
|
1608
|
-
|
|
1609
|
-
:return: The class or default when not found.
|
|
1610
|
-
:rtype: typing.Any
|
|
1611
|
-
"""
|
|
1612
|
-
...
|
|
1613
|
-
|
|
1614
|
-
def draw(self, context):
|
|
1615
|
-
"""
|
|
1616
|
-
|
|
1617
|
-
:param context:
|
|
1618
|
-
"""
|
|
1619
|
-
...
|
|
1620
|
-
|
|
1621
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1622
|
-
"""Adds driver(s) to the given property
|
|
1623
|
-
|
|
1624
|
-
:return: The driver(s) added.
|
|
1625
|
-
:rtype: bpy.types.FCurve
|
|
1626
|
-
"""
|
|
1627
|
-
...
|
|
1628
|
-
|
|
1629
|
-
def driver_remove(self) -> bool:
|
|
1630
|
-
"""Remove driver(s) from the given property
|
|
1631
|
-
|
|
1632
|
-
:return: Success of driver removal.
|
|
1633
|
-
:rtype: bool
|
|
1634
|
-
"""
|
|
1635
|
-
...
|
|
1636
|
-
|
|
1637
|
-
def get(self):
|
|
1638
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1639
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1640
|
-
|
|
1641
|
-
"""
|
|
1642
|
-
...
|
|
1643
|
-
|
|
1644
|
-
def has_timeline(self, context):
|
|
240
|
+
def draw(self, context):
|
|
1645
241
|
"""
|
|
1646
242
|
|
|
1647
243
|
:param context:
|
|
1648
244
|
"""
|
|
1649
245
|
...
|
|
1650
246
|
|
|
1651
|
-
def id_properties_clear(self):
|
|
1652
|
-
"""
|
|
1653
|
-
|
|
1654
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1655
|
-
"""
|
|
1656
|
-
...
|
|
1657
|
-
|
|
1658
|
-
def id_properties_ensure(self):
|
|
1659
|
-
"""
|
|
1660
|
-
|
|
1661
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1662
|
-
"""
|
|
1663
|
-
...
|
|
1664
|
-
|
|
1665
|
-
def id_properties_ui(self):
|
|
1666
|
-
"""
|
|
1667
|
-
|
|
1668
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1669
|
-
"""
|
|
1670
|
-
...
|
|
1671
|
-
|
|
1672
|
-
def is_extended(self): ...
|
|
1673
|
-
def is_property_hidden(self) -> bool:
|
|
1674
|
-
"""Check if a property is hidden.
|
|
1675
|
-
|
|
1676
|
-
:return: True when the property is hidden.
|
|
1677
|
-
:rtype: bool
|
|
1678
|
-
"""
|
|
1679
|
-
...
|
|
1680
|
-
|
|
1681
|
-
def is_property_overridable_library(self) -> bool:
|
|
1682
|
-
"""Check if a property is overridable.
|
|
1683
|
-
|
|
1684
|
-
:return: True when the property is overridable.
|
|
1685
|
-
:rtype: bool
|
|
1686
|
-
"""
|
|
1687
|
-
...
|
|
1688
|
-
|
|
1689
|
-
def is_property_readonly(self) -> bool:
|
|
1690
|
-
"""Check if a property is readonly.
|
|
1691
|
-
|
|
1692
|
-
:return: True when the property is readonly (not writable).
|
|
1693
|
-
:rtype: bool
|
|
1694
|
-
"""
|
|
1695
|
-
...
|
|
1696
|
-
|
|
1697
|
-
def is_property_set(self) -> bool:
|
|
1698
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1699
|
-
|
|
1700
|
-
:return: True when the property has been set.
|
|
1701
|
-
:rtype: bool
|
|
1702
|
-
"""
|
|
1703
|
-
...
|
|
1704
|
-
|
|
1705
|
-
def items(self):
|
|
1706
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1707
|
-
dictionary function of the same name).
|
|
1708
|
-
|
|
1709
|
-
:return: custom property key, value pairs.
|
|
1710
|
-
"""
|
|
1711
|
-
...
|
|
1712
|
-
|
|
1713
|
-
def keyframe_delete(self) -> bool:
|
|
1714
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1715
|
-
|
|
1716
|
-
:return: Success of keyframe deletion.
|
|
1717
|
-
:rtype: bool
|
|
1718
|
-
"""
|
|
1719
|
-
...
|
|
1720
|
-
|
|
1721
|
-
def keyframe_insert(self) -> bool:
|
|
1722
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1723
|
-
|
|
1724
|
-
:return: Success of keyframe insertion.
|
|
1725
|
-
:rtype: bool
|
|
1726
|
-
"""
|
|
1727
|
-
...
|
|
1728
|
-
|
|
1729
|
-
def keys(self):
|
|
1730
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1731
|
-
dictionary function of the same name).
|
|
1732
|
-
|
|
1733
|
-
:return: custom property keys.
|
|
1734
|
-
"""
|
|
1735
|
-
...
|
|
1736
|
-
|
|
1737
|
-
def path_from_id(self) -> str:
|
|
1738
|
-
"""Returns the data path from the ID to this object (string).
|
|
1739
|
-
|
|
1740
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1741
|
-
to this struct and property (when given).
|
|
1742
|
-
:rtype: str
|
|
1743
|
-
"""
|
|
1744
|
-
...
|
|
1745
|
-
|
|
1746
|
-
def path_resolve(self):
|
|
1747
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1748
|
-
...
|
|
1749
|
-
|
|
1750
|
-
def pop(self):
|
|
1751
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1752
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1753
|
-
|
|
1754
|
-
"""
|
|
1755
|
-
...
|
|
1756
|
-
|
|
1757
|
-
def prepend(self, draw_func):
|
|
1758
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1759
|
-
the menus draw function
|
|
1760
|
-
|
|
1761
|
-
:param draw_func:
|
|
1762
|
-
"""
|
|
1763
|
-
...
|
|
1764
|
-
|
|
1765
|
-
def property_overridable_library_set(self) -> bool:
|
|
1766
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1767
|
-
|
|
1768
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1769
|
-
:rtype: bool
|
|
1770
|
-
"""
|
|
1771
|
-
...
|
|
1772
|
-
|
|
1773
|
-
def property_unset(self):
|
|
1774
|
-
"""Unset a property, will use default value afterward."""
|
|
1775
|
-
...
|
|
1776
|
-
|
|
1777
|
-
def remove(self, draw_func):
|
|
1778
|
-
"""Remove a draw function that has been added to this menu
|
|
1779
|
-
|
|
1780
|
-
:param draw_func:
|
|
1781
|
-
"""
|
|
1782
|
-
...
|
|
1783
|
-
|
|
1784
|
-
def type_recast(self):
|
|
1785
|
-
"""Return a new instance, this is needed because types
|
|
1786
|
-
such as textures can be changed at runtime.
|
|
1787
|
-
|
|
1788
|
-
:return: a new instance of this object with the type initialized again.
|
|
1789
|
-
"""
|
|
1790
|
-
...
|
|
1791
|
-
|
|
1792
|
-
def values(self):
|
|
1793
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1794
|
-
dictionary function of the same name).
|
|
1795
|
-
|
|
1796
|
-
:return: custom property values.
|
|
1797
|
-
"""
|
|
1798
|
-
...
|
|
1799
|
-
|
|
1800
247
|
class TimelinePanelButtons:
|
|
1801
248
|
bl_region_type: typing.Any
|
|
1802
249
|
bl_space_type: typing.Any
|