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