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
|
@@ -9,7 +9,7 @@ import rna_prop_ui
|
|
|
9
9
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
10
10
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
11
11
|
|
|
12
|
-
class CAMERA_PT_presets(bl_ui.utils.PresetPanel, bpy_types._GenericUI):
|
|
12
|
+
class CAMERA_PT_presets(bpy.types.Panel, bl_ui.utils.PresetPanel, bpy_types._GenericUI):
|
|
13
13
|
COMPAT_ENGINES: typing.Any
|
|
14
14
|
bl_label: typing.Any
|
|
15
15
|
bl_region_type: typing.Any
|
|
@@ -20,22 +20,6 @@ class CAMERA_PT_presets(bl_ui.utils.PresetPanel, bpy_types._GenericUI):
|
|
|
20
20
|
preset_operator: typing.Any
|
|
21
21
|
preset_subdir: typing.Any
|
|
22
22
|
|
|
23
|
-
def append(self, draw_func):
|
|
24
|
-
"""Append a draw function to this menu,
|
|
25
|
-
takes the same arguments as the menus draw function
|
|
26
|
-
|
|
27
|
-
:param draw_func:
|
|
28
|
-
"""
|
|
29
|
-
...
|
|
30
|
-
|
|
31
|
-
def as_pointer(self) -> int:
|
|
32
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
33
|
-
|
|
34
|
-
:return: int (memory address).
|
|
35
|
-
:rtype: int
|
|
36
|
-
"""
|
|
37
|
-
...
|
|
38
|
-
|
|
39
23
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
40
24
|
"""
|
|
41
25
|
|
|
@@ -52,236 +36,9 @@ class CAMERA_PT_presets(bl_ui.utils.PresetPanel, bpy_types._GenericUI):
|
|
|
52
36
|
"""
|
|
53
37
|
...
|
|
54
38
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
:param context:
|
|
59
|
-
"""
|
|
60
|
-
...
|
|
61
|
-
|
|
62
|
-
def draw_menu(self, layout, text=None):
|
|
63
|
-
"""
|
|
64
|
-
|
|
65
|
-
:param layout:
|
|
66
|
-
:param text:
|
|
67
|
-
"""
|
|
68
|
-
...
|
|
69
|
-
|
|
70
|
-
def draw_panel_header(self, layout):
|
|
71
|
-
"""
|
|
72
|
-
|
|
73
|
-
:param layout:
|
|
74
|
-
"""
|
|
75
|
-
...
|
|
76
|
-
|
|
77
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
78
|
-
"""Adds driver(s) to the given property
|
|
79
|
-
|
|
80
|
-
:return: The driver(s) added.
|
|
81
|
-
:rtype: bpy.types.FCurve
|
|
82
|
-
"""
|
|
83
|
-
...
|
|
84
|
-
|
|
85
|
-
def driver_remove(self) -> bool:
|
|
86
|
-
"""Remove driver(s) from the given property
|
|
87
|
-
|
|
88
|
-
:return: Success of driver removal.
|
|
89
|
-
:rtype: bool
|
|
90
|
-
"""
|
|
91
|
-
...
|
|
92
|
-
|
|
93
|
-
def get(self):
|
|
94
|
-
"""Returns the value of the custom property assigned to key or default
|
|
95
|
-
when not found (matches Python's dictionary function of the same name).
|
|
96
|
-
|
|
97
|
-
"""
|
|
98
|
-
...
|
|
99
|
-
|
|
100
|
-
def id_properties_clear(self):
|
|
101
|
-
"""
|
|
102
|
-
|
|
103
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
104
|
-
"""
|
|
105
|
-
...
|
|
106
|
-
|
|
107
|
-
def id_properties_ensure(self):
|
|
108
|
-
"""
|
|
109
|
-
|
|
110
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
111
|
-
"""
|
|
112
|
-
...
|
|
113
|
-
|
|
114
|
-
def id_properties_ui(self):
|
|
115
|
-
"""
|
|
116
|
-
|
|
117
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
118
|
-
"""
|
|
119
|
-
...
|
|
120
|
-
|
|
121
|
-
def is_extended(self): ...
|
|
122
|
-
def is_property_hidden(self) -> bool:
|
|
123
|
-
"""Check if a property is hidden.
|
|
124
|
-
|
|
125
|
-
:return: True when the property is hidden.
|
|
126
|
-
:rtype: bool
|
|
127
|
-
"""
|
|
128
|
-
...
|
|
129
|
-
|
|
130
|
-
def is_property_overridable_library(self) -> bool:
|
|
131
|
-
"""Check if a property is overridable.
|
|
132
|
-
|
|
133
|
-
:return: True when the property is overridable.
|
|
134
|
-
:rtype: bool
|
|
135
|
-
"""
|
|
136
|
-
...
|
|
137
|
-
|
|
138
|
-
def is_property_readonly(self) -> bool:
|
|
139
|
-
"""Check if a property is readonly.
|
|
140
|
-
|
|
141
|
-
:return: True when the property is readonly (not writable).
|
|
142
|
-
:rtype: bool
|
|
143
|
-
"""
|
|
144
|
-
...
|
|
145
|
-
|
|
146
|
-
def is_property_set(self) -> bool:
|
|
147
|
-
"""Check if a property is set, use for testing operator properties.
|
|
148
|
-
|
|
149
|
-
:return: True when the property has been set.
|
|
150
|
-
:rtype: bool
|
|
151
|
-
"""
|
|
152
|
-
...
|
|
153
|
-
|
|
154
|
-
def items(self):
|
|
155
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
156
|
-
dictionary function of the same name).
|
|
157
|
-
|
|
158
|
-
:return: custom property key, value pairs.
|
|
159
|
-
"""
|
|
160
|
-
...
|
|
161
|
-
|
|
162
|
-
def keyframe_delete(self) -> bool:
|
|
163
|
-
"""Remove a keyframe from this properties fcurve.
|
|
164
|
-
|
|
165
|
-
:return: Success of keyframe deletion.
|
|
166
|
-
:rtype: bool
|
|
167
|
-
"""
|
|
168
|
-
...
|
|
169
|
-
|
|
170
|
-
def keyframe_insert(self) -> bool:
|
|
171
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
172
|
-
|
|
173
|
-
:return: Success of keyframe insertion.
|
|
174
|
-
:rtype: bool
|
|
175
|
-
"""
|
|
176
|
-
...
|
|
177
|
-
|
|
178
|
-
def keys(self):
|
|
179
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
180
|
-
dictionary function of the same name).
|
|
181
|
-
|
|
182
|
-
:return: custom property keys.
|
|
183
|
-
"""
|
|
184
|
-
...
|
|
185
|
-
|
|
186
|
-
def path_from_id(self) -> str:
|
|
187
|
-
"""Returns the data path from the ID to this object (string).
|
|
188
|
-
|
|
189
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
190
|
-
to this struct and property (when given).
|
|
191
|
-
:rtype: str
|
|
192
|
-
"""
|
|
193
|
-
...
|
|
194
|
-
|
|
195
|
-
def path_menu(
|
|
196
|
-
self,
|
|
197
|
-
searchpaths: list[str],
|
|
198
|
-
operator: str,
|
|
199
|
-
*,
|
|
200
|
-
props_default: dict = None,
|
|
201
|
-
prop_filepath: str | None = "filepath",
|
|
202
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
203
|
-
filter_path=None,
|
|
204
|
-
display_name: collections.abc.Callable | None = None,
|
|
205
|
-
add_operator=None,
|
|
206
|
-
add_operator_props=None,
|
|
207
|
-
):
|
|
208
|
-
"""Populate a menu from a list of paths.
|
|
209
|
-
|
|
210
|
-
:param searchpaths: Paths to scan.
|
|
211
|
-
:type searchpaths: list[str]
|
|
212
|
-
:param operator: The operator id to use with each file.
|
|
213
|
-
:type operator: str
|
|
214
|
-
:param props_default: Properties to assign to each operator.
|
|
215
|
-
:type props_default: dict
|
|
216
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
217
|
-
:type prop_filepath: str | None
|
|
218
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
219
|
-
|
|
220
|
-
Returning false excludes the file from the list.
|
|
221
|
-
:type filter_ext: collections.abc.Callable | None
|
|
222
|
-
:param filter_path:
|
|
223
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
224
|
-
:type display_name: collections.abc.Callable | None
|
|
225
|
-
:param add_operator:
|
|
226
|
-
:param add_operator_props:
|
|
227
|
-
"""
|
|
228
|
-
...
|
|
229
|
-
|
|
230
|
-
def path_resolve(self):
|
|
231
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
232
|
-
...
|
|
233
|
-
|
|
234
|
-
def pop(self):
|
|
235
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
236
|
-
when not found (matches Python's dictionary function of the same name).
|
|
237
|
-
|
|
238
|
-
"""
|
|
239
|
-
...
|
|
240
|
-
|
|
241
|
-
def prepend(self, draw_func):
|
|
242
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
243
|
-
the menus draw function
|
|
244
|
-
|
|
245
|
-
:param draw_func:
|
|
246
|
-
"""
|
|
247
|
-
...
|
|
248
|
-
|
|
249
|
-
def property_overridable_library_set(self) -> bool:
|
|
250
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
251
|
-
|
|
252
|
-
:return: True when the overridable status of the property was successfully set.
|
|
253
|
-
:rtype: bool
|
|
254
|
-
"""
|
|
255
|
-
...
|
|
256
|
-
|
|
257
|
-
def property_unset(self):
|
|
258
|
-
"""Unset a property, will use default value afterward."""
|
|
259
|
-
...
|
|
260
|
-
|
|
261
|
-
def remove(self, draw_func):
|
|
262
|
-
"""Remove a draw function that has been added to this menu
|
|
263
|
-
|
|
264
|
-
:param draw_func:
|
|
265
|
-
"""
|
|
266
|
-
...
|
|
267
|
-
|
|
268
|
-
def type_recast(self):
|
|
269
|
-
"""Return a new instance, this is needed because types
|
|
270
|
-
such as textures can be changed at runtime.
|
|
271
|
-
|
|
272
|
-
:return: a new instance of this object with the type initialized again.
|
|
273
|
-
"""
|
|
274
|
-
...
|
|
275
|
-
|
|
276
|
-
def values(self):
|
|
277
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
278
|
-
dictionary function of the same name).
|
|
279
|
-
|
|
280
|
-
:return: custom property values.
|
|
281
|
-
"""
|
|
282
|
-
...
|
|
283
|
-
|
|
284
|
-
class CAMERA_PT_safe_areas_presets(bl_ui.utils.PresetPanel, bpy_types._GenericUI):
|
|
39
|
+
class CAMERA_PT_safe_areas_presets(
|
|
40
|
+
bpy.types.Panel, bl_ui.utils.PresetPanel, bpy_types._GenericUI
|
|
41
|
+
):
|
|
285
42
|
COMPAT_ENGINES: typing.Any
|
|
286
43
|
bl_label: typing.Any
|
|
287
44
|
bl_region_type: typing.Any
|
|
@@ -292,22 +49,6 @@ class CAMERA_PT_safe_areas_presets(bl_ui.utils.PresetPanel, bpy_types._GenericUI
|
|
|
292
49
|
preset_operator: typing.Any
|
|
293
50
|
preset_subdir: typing.Any
|
|
294
51
|
|
|
295
|
-
def append(self, draw_func):
|
|
296
|
-
"""Append a draw function to this menu,
|
|
297
|
-
takes the same arguments as the menus draw function
|
|
298
|
-
|
|
299
|
-
:param draw_func:
|
|
300
|
-
"""
|
|
301
|
-
...
|
|
302
|
-
|
|
303
|
-
def as_pointer(self) -> int:
|
|
304
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
305
|
-
|
|
306
|
-
:return: int (memory address).
|
|
307
|
-
:rtype: int
|
|
308
|
-
"""
|
|
309
|
-
...
|
|
310
|
-
|
|
311
52
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
312
53
|
"""
|
|
313
54
|
|
|
@@ -324,235 +65,6 @@ class CAMERA_PT_safe_areas_presets(bl_ui.utils.PresetPanel, bpy_types._GenericUI
|
|
|
324
65
|
"""
|
|
325
66
|
...
|
|
326
67
|
|
|
327
|
-
def draw(self, context):
|
|
328
|
-
"""
|
|
329
|
-
|
|
330
|
-
:param context:
|
|
331
|
-
"""
|
|
332
|
-
...
|
|
333
|
-
|
|
334
|
-
def draw_menu(self, layout, text=None):
|
|
335
|
-
"""
|
|
336
|
-
|
|
337
|
-
:param layout:
|
|
338
|
-
:param text:
|
|
339
|
-
"""
|
|
340
|
-
...
|
|
341
|
-
|
|
342
|
-
def draw_panel_header(self, layout):
|
|
343
|
-
"""
|
|
344
|
-
|
|
345
|
-
:param layout:
|
|
346
|
-
"""
|
|
347
|
-
...
|
|
348
|
-
|
|
349
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
350
|
-
"""Adds driver(s) to the given property
|
|
351
|
-
|
|
352
|
-
:return: The driver(s) added.
|
|
353
|
-
:rtype: bpy.types.FCurve
|
|
354
|
-
"""
|
|
355
|
-
...
|
|
356
|
-
|
|
357
|
-
def driver_remove(self) -> bool:
|
|
358
|
-
"""Remove driver(s) from the given property
|
|
359
|
-
|
|
360
|
-
:return: Success of driver removal.
|
|
361
|
-
:rtype: bool
|
|
362
|
-
"""
|
|
363
|
-
...
|
|
364
|
-
|
|
365
|
-
def get(self):
|
|
366
|
-
"""Returns the value of the custom property assigned to key or default
|
|
367
|
-
when not found (matches Python's dictionary function of the same name).
|
|
368
|
-
|
|
369
|
-
"""
|
|
370
|
-
...
|
|
371
|
-
|
|
372
|
-
def id_properties_clear(self):
|
|
373
|
-
"""
|
|
374
|
-
|
|
375
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
376
|
-
"""
|
|
377
|
-
...
|
|
378
|
-
|
|
379
|
-
def id_properties_ensure(self):
|
|
380
|
-
"""
|
|
381
|
-
|
|
382
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
383
|
-
"""
|
|
384
|
-
...
|
|
385
|
-
|
|
386
|
-
def id_properties_ui(self):
|
|
387
|
-
"""
|
|
388
|
-
|
|
389
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
390
|
-
"""
|
|
391
|
-
...
|
|
392
|
-
|
|
393
|
-
def is_extended(self): ...
|
|
394
|
-
def is_property_hidden(self) -> bool:
|
|
395
|
-
"""Check if a property is hidden.
|
|
396
|
-
|
|
397
|
-
:return: True when the property is hidden.
|
|
398
|
-
:rtype: bool
|
|
399
|
-
"""
|
|
400
|
-
...
|
|
401
|
-
|
|
402
|
-
def is_property_overridable_library(self) -> bool:
|
|
403
|
-
"""Check if a property is overridable.
|
|
404
|
-
|
|
405
|
-
:return: True when the property is overridable.
|
|
406
|
-
:rtype: bool
|
|
407
|
-
"""
|
|
408
|
-
...
|
|
409
|
-
|
|
410
|
-
def is_property_readonly(self) -> bool:
|
|
411
|
-
"""Check if a property is readonly.
|
|
412
|
-
|
|
413
|
-
:return: True when the property is readonly (not writable).
|
|
414
|
-
:rtype: bool
|
|
415
|
-
"""
|
|
416
|
-
...
|
|
417
|
-
|
|
418
|
-
def is_property_set(self) -> bool:
|
|
419
|
-
"""Check if a property is set, use for testing operator properties.
|
|
420
|
-
|
|
421
|
-
:return: True when the property has been set.
|
|
422
|
-
:rtype: bool
|
|
423
|
-
"""
|
|
424
|
-
...
|
|
425
|
-
|
|
426
|
-
def items(self):
|
|
427
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
428
|
-
dictionary function of the same name).
|
|
429
|
-
|
|
430
|
-
:return: custom property key, value pairs.
|
|
431
|
-
"""
|
|
432
|
-
...
|
|
433
|
-
|
|
434
|
-
def keyframe_delete(self) -> bool:
|
|
435
|
-
"""Remove a keyframe from this properties fcurve.
|
|
436
|
-
|
|
437
|
-
:return: Success of keyframe deletion.
|
|
438
|
-
:rtype: bool
|
|
439
|
-
"""
|
|
440
|
-
...
|
|
441
|
-
|
|
442
|
-
def keyframe_insert(self) -> bool:
|
|
443
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
444
|
-
|
|
445
|
-
:return: Success of keyframe insertion.
|
|
446
|
-
:rtype: bool
|
|
447
|
-
"""
|
|
448
|
-
...
|
|
449
|
-
|
|
450
|
-
def keys(self):
|
|
451
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
452
|
-
dictionary function of the same name).
|
|
453
|
-
|
|
454
|
-
:return: custom property keys.
|
|
455
|
-
"""
|
|
456
|
-
...
|
|
457
|
-
|
|
458
|
-
def path_from_id(self) -> str:
|
|
459
|
-
"""Returns the data path from the ID to this object (string).
|
|
460
|
-
|
|
461
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
462
|
-
to this struct and property (when given).
|
|
463
|
-
:rtype: str
|
|
464
|
-
"""
|
|
465
|
-
...
|
|
466
|
-
|
|
467
|
-
def path_menu(
|
|
468
|
-
self,
|
|
469
|
-
searchpaths: list[str],
|
|
470
|
-
operator: str,
|
|
471
|
-
*,
|
|
472
|
-
props_default: dict = None,
|
|
473
|
-
prop_filepath: str | None = "filepath",
|
|
474
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
475
|
-
filter_path=None,
|
|
476
|
-
display_name: collections.abc.Callable | None = None,
|
|
477
|
-
add_operator=None,
|
|
478
|
-
add_operator_props=None,
|
|
479
|
-
):
|
|
480
|
-
"""Populate a menu from a list of paths.
|
|
481
|
-
|
|
482
|
-
:param searchpaths: Paths to scan.
|
|
483
|
-
:type searchpaths: list[str]
|
|
484
|
-
:param operator: The operator id to use with each file.
|
|
485
|
-
:type operator: str
|
|
486
|
-
:param props_default: Properties to assign to each operator.
|
|
487
|
-
:type props_default: dict
|
|
488
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
489
|
-
:type prop_filepath: str | None
|
|
490
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
491
|
-
|
|
492
|
-
Returning false excludes the file from the list.
|
|
493
|
-
:type filter_ext: collections.abc.Callable | None
|
|
494
|
-
:param filter_path:
|
|
495
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
496
|
-
:type display_name: collections.abc.Callable | None
|
|
497
|
-
:param add_operator:
|
|
498
|
-
:param add_operator_props:
|
|
499
|
-
"""
|
|
500
|
-
...
|
|
501
|
-
|
|
502
|
-
def path_resolve(self):
|
|
503
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
504
|
-
...
|
|
505
|
-
|
|
506
|
-
def pop(self):
|
|
507
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
508
|
-
when not found (matches Python's dictionary function of the same name).
|
|
509
|
-
|
|
510
|
-
"""
|
|
511
|
-
...
|
|
512
|
-
|
|
513
|
-
def prepend(self, draw_func):
|
|
514
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
515
|
-
the menus draw function
|
|
516
|
-
|
|
517
|
-
:param draw_func:
|
|
518
|
-
"""
|
|
519
|
-
...
|
|
520
|
-
|
|
521
|
-
def property_overridable_library_set(self) -> bool:
|
|
522
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
523
|
-
|
|
524
|
-
:return: True when the overridable status of the property was successfully set.
|
|
525
|
-
:rtype: bool
|
|
526
|
-
"""
|
|
527
|
-
...
|
|
528
|
-
|
|
529
|
-
def property_unset(self):
|
|
530
|
-
"""Unset a property, will use default value afterward."""
|
|
531
|
-
...
|
|
532
|
-
|
|
533
|
-
def remove(self, draw_func):
|
|
534
|
-
"""Remove a draw function that has been added to this menu
|
|
535
|
-
|
|
536
|
-
:param draw_func:
|
|
537
|
-
"""
|
|
538
|
-
...
|
|
539
|
-
|
|
540
|
-
def type_recast(self):
|
|
541
|
-
"""Return a new instance, this is needed because types
|
|
542
|
-
such as textures can be changed at runtime.
|
|
543
|
-
|
|
544
|
-
:return: a new instance of this object with the type initialized again.
|
|
545
|
-
"""
|
|
546
|
-
...
|
|
547
|
-
|
|
548
|
-
def values(self):
|
|
549
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
550
|
-
dictionary function of the same name).
|
|
551
|
-
|
|
552
|
-
:return: custom property values.
|
|
553
|
-
"""
|
|
554
|
-
...
|
|
555
|
-
|
|
556
68
|
class CameraButtonsPanel:
|
|
557
69
|
bl_context: typing.Any
|
|
558
70
|
bl_region_type: typing.Any
|
|
@@ -566,7 +78,7 @@ class CameraButtonsPanel:
|
|
|
566
78
|
"""
|
|
567
79
|
...
|
|
568
80
|
|
|
569
|
-
class DATA_PT_camera(CameraButtonsPanel, bpy_types._GenericUI):
|
|
81
|
+
class DATA_PT_camera(bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI):
|
|
570
82
|
COMPAT_ENGINES: typing.Any
|
|
571
83
|
bl_context: typing.Any
|
|
572
84
|
bl_label: typing.Any
|
|
@@ -576,2355 +88,48 @@ class DATA_PT_camera(CameraButtonsPanel, bpy_types._GenericUI):
|
|
|
576
88
|
bl_space_type: typing.Any
|
|
577
89
|
id_data: typing.Any
|
|
578
90
|
|
|
579
|
-
def append(self, draw_func):
|
|
580
|
-
"""Append a draw function to this menu,
|
|
581
|
-
takes the same arguments as the menus draw function
|
|
582
|
-
|
|
583
|
-
:param draw_func:
|
|
584
|
-
"""
|
|
585
|
-
...
|
|
586
|
-
|
|
587
|
-
def as_pointer(self) -> int:
|
|
588
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
589
|
-
|
|
590
|
-
:return: int (memory address).
|
|
591
|
-
:rtype: int
|
|
592
|
-
"""
|
|
593
|
-
...
|
|
594
|
-
|
|
595
91
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
596
92
|
"""
|
|
597
93
|
|
|
598
|
-
:return: The RNA type or default when not found.
|
|
599
|
-
:rtype: bpy.types.Struct
|
|
600
|
-
"""
|
|
601
|
-
...
|
|
602
|
-
|
|
603
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
604
|
-
"""
|
|
605
|
-
|
|
606
|
-
:return: The class or default when not found.
|
|
607
|
-
:rtype: typing.Any
|
|
608
|
-
"""
|
|
609
|
-
...
|
|
610
|
-
|
|
611
|
-
def draw(self, context):
|
|
612
|
-
"""
|
|
613
|
-
|
|
614
|
-
:param context:
|
|
615
|
-
"""
|
|
616
|
-
...
|
|
617
|
-
|
|
618
|
-
def draw_header_preset(self, _context):
|
|
619
|
-
"""
|
|
620
|
-
|
|
621
|
-
:param _context:
|
|
622
|
-
"""
|
|
623
|
-
...
|
|
624
|
-
|
|
625
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
626
|
-
"""Adds driver(s) to the given property
|
|
627
|
-
|
|
628
|
-
:return: The driver(s) added.
|
|
629
|
-
:rtype: bpy.types.FCurve
|
|
630
|
-
"""
|
|
631
|
-
...
|
|
632
|
-
|
|
633
|
-
def driver_remove(self) -> bool:
|
|
634
|
-
"""Remove driver(s) from the given property
|
|
635
|
-
|
|
636
|
-
:return: Success of driver removal.
|
|
637
|
-
:rtype: bool
|
|
638
|
-
"""
|
|
639
|
-
...
|
|
640
|
-
|
|
641
|
-
def get(self):
|
|
642
|
-
"""Returns the value of the custom property assigned to key or default
|
|
643
|
-
when not found (matches Python's dictionary function of the same name).
|
|
644
|
-
|
|
645
|
-
"""
|
|
646
|
-
...
|
|
647
|
-
|
|
648
|
-
def id_properties_clear(self):
|
|
649
|
-
"""
|
|
650
|
-
|
|
651
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
652
|
-
"""
|
|
653
|
-
...
|
|
654
|
-
|
|
655
|
-
def id_properties_ensure(self):
|
|
656
|
-
"""
|
|
657
|
-
|
|
658
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
659
|
-
"""
|
|
660
|
-
...
|
|
661
|
-
|
|
662
|
-
def id_properties_ui(self):
|
|
663
|
-
"""
|
|
664
|
-
|
|
665
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
666
|
-
"""
|
|
667
|
-
...
|
|
668
|
-
|
|
669
|
-
def is_extended(self): ...
|
|
670
|
-
def is_property_hidden(self) -> bool:
|
|
671
|
-
"""Check if a property is hidden.
|
|
672
|
-
|
|
673
|
-
:return: True when the property is hidden.
|
|
674
|
-
:rtype: bool
|
|
675
|
-
"""
|
|
676
|
-
...
|
|
677
|
-
|
|
678
|
-
def is_property_overridable_library(self) -> bool:
|
|
679
|
-
"""Check if a property is overridable.
|
|
680
|
-
|
|
681
|
-
:return: True when the property is overridable.
|
|
682
|
-
:rtype: bool
|
|
683
|
-
"""
|
|
684
|
-
...
|
|
685
|
-
|
|
686
|
-
def is_property_readonly(self) -> bool:
|
|
687
|
-
"""Check if a property is readonly.
|
|
688
|
-
|
|
689
|
-
:return: True when the property is readonly (not writable).
|
|
690
|
-
:rtype: bool
|
|
691
|
-
"""
|
|
692
|
-
...
|
|
693
|
-
|
|
694
|
-
def is_property_set(self) -> bool:
|
|
695
|
-
"""Check if a property is set, use for testing operator properties.
|
|
696
|
-
|
|
697
|
-
:return: True when the property has been set.
|
|
698
|
-
:rtype: bool
|
|
699
|
-
"""
|
|
700
|
-
...
|
|
701
|
-
|
|
702
|
-
def items(self):
|
|
703
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
704
|
-
dictionary function of the same name).
|
|
705
|
-
|
|
706
|
-
:return: custom property key, value pairs.
|
|
707
|
-
"""
|
|
708
|
-
...
|
|
709
|
-
|
|
710
|
-
def keyframe_delete(self) -> bool:
|
|
711
|
-
"""Remove a keyframe from this properties fcurve.
|
|
712
|
-
|
|
713
|
-
:return: Success of keyframe deletion.
|
|
714
|
-
:rtype: bool
|
|
715
|
-
"""
|
|
716
|
-
...
|
|
717
|
-
|
|
718
|
-
def keyframe_insert(self) -> bool:
|
|
719
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
720
|
-
|
|
721
|
-
:return: Success of keyframe insertion.
|
|
722
|
-
:rtype: bool
|
|
723
|
-
"""
|
|
724
|
-
...
|
|
725
|
-
|
|
726
|
-
def keys(self):
|
|
727
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
728
|
-
dictionary function of the same name).
|
|
729
|
-
|
|
730
|
-
:return: custom property keys.
|
|
731
|
-
"""
|
|
732
|
-
...
|
|
733
|
-
|
|
734
|
-
def path_from_id(self) -> str:
|
|
735
|
-
"""Returns the data path from the ID to this object (string).
|
|
736
|
-
|
|
737
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
738
|
-
to this struct and property (when given).
|
|
739
|
-
:rtype: str
|
|
740
|
-
"""
|
|
741
|
-
...
|
|
742
|
-
|
|
743
|
-
def path_resolve(self):
|
|
744
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
745
|
-
...
|
|
746
|
-
|
|
747
|
-
def poll(self, context):
|
|
748
|
-
"""
|
|
749
|
-
|
|
750
|
-
:param context:
|
|
751
|
-
"""
|
|
752
|
-
...
|
|
753
|
-
|
|
754
|
-
def pop(self):
|
|
755
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
756
|
-
when not found (matches Python's dictionary function of the same name).
|
|
757
|
-
|
|
758
|
-
"""
|
|
759
|
-
...
|
|
760
|
-
|
|
761
|
-
def prepend(self, draw_func):
|
|
762
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
763
|
-
the menus draw function
|
|
764
|
-
|
|
765
|
-
:param draw_func:
|
|
766
|
-
"""
|
|
767
|
-
...
|
|
768
|
-
|
|
769
|
-
def property_overridable_library_set(self) -> bool:
|
|
770
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
771
|
-
|
|
772
|
-
:return: True when the overridable status of the property was successfully set.
|
|
773
|
-
:rtype: bool
|
|
774
|
-
"""
|
|
775
|
-
...
|
|
776
|
-
|
|
777
|
-
def property_unset(self):
|
|
778
|
-
"""Unset a property, will use default value afterward."""
|
|
779
|
-
...
|
|
780
|
-
|
|
781
|
-
def remove(self, draw_func):
|
|
782
|
-
"""Remove a draw function that has been added to this menu
|
|
783
|
-
|
|
784
|
-
:param draw_func:
|
|
785
|
-
"""
|
|
786
|
-
...
|
|
787
|
-
|
|
788
|
-
def type_recast(self):
|
|
789
|
-
"""Return a new instance, this is needed because types
|
|
790
|
-
such as textures can be changed at runtime.
|
|
791
|
-
|
|
792
|
-
:return: a new instance of this object with the type initialized again.
|
|
793
|
-
"""
|
|
794
|
-
...
|
|
795
|
-
|
|
796
|
-
def values(self):
|
|
797
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
798
|
-
dictionary function of the same name).
|
|
799
|
-
|
|
800
|
-
:return: custom property values.
|
|
801
|
-
"""
|
|
802
|
-
...
|
|
803
|
-
|
|
804
|
-
class DATA_PT_camera_background_image(CameraButtonsPanel, bpy_types._GenericUI):
|
|
805
|
-
COMPAT_ENGINES: typing.Any
|
|
806
|
-
bl_context: typing.Any
|
|
807
|
-
bl_label: typing.Any
|
|
808
|
-
bl_options: typing.Any
|
|
809
|
-
bl_region_type: typing.Any
|
|
810
|
-
bl_rna: typing.Any
|
|
811
|
-
bl_space_type: typing.Any
|
|
812
|
-
id_data: typing.Any
|
|
813
|
-
|
|
814
|
-
def append(self, draw_func):
|
|
815
|
-
"""Append a draw function to this menu,
|
|
816
|
-
takes the same arguments as the menus draw function
|
|
817
|
-
|
|
818
|
-
:param draw_func:
|
|
819
|
-
"""
|
|
820
|
-
...
|
|
821
|
-
|
|
822
|
-
def as_pointer(self) -> int:
|
|
823
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
824
|
-
|
|
825
|
-
:return: int (memory address).
|
|
826
|
-
:rtype: int
|
|
827
|
-
"""
|
|
828
|
-
...
|
|
829
|
-
|
|
830
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
831
|
-
"""
|
|
832
|
-
|
|
833
|
-
:return: The RNA type or default when not found.
|
|
834
|
-
:rtype: bpy.types.Struct
|
|
835
|
-
"""
|
|
836
|
-
...
|
|
837
|
-
|
|
838
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
839
|
-
"""
|
|
840
|
-
|
|
841
|
-
:return: The class or default when not found.
|
|
842
|
-
:rtype: typing.Any
|
|
843
|
-
"""
|
|
844
|
-
...
|
|
845
|
-
|
|
846
|
-
def draw(self, context):
|
|
847
|
-
"""
|
|
848
|
-
|
|
849
|
-
:param context:
|
|
850
|
-
"""
|
|
851
|
-
...
|
|
852
|
-
|
|
853
|
-
def draw_header(self, context):
|
|
854
|
-
"""
|
|
855
|
-
|
|
856
|
-
:param context:
|
|
857
|
-
"""
|
|
858
|
-
...
|
|
859
|
-
|
|
860
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
861
|
-
"""Adds driver(s) to the given property
|
|
862
|
-
|
|
863
|
-
:return: The driver(s) added.
|
|
864
|
-
:rtype: bpy.types.FCurve
|
|
865
|
-
"""
|
|
866
|
-
...
|
|
867
|
-
|
|
868
|
-
def driver_remove(self) -> bool:
|
|
869
|
-
"""Remove driver(s) from the given property
|
|
870
|
-
|
|
871
|
-
:return: Success of driver removal.
|
|
872
|
-
:rtype: bool
|
|
873
|
-
"""
|
|
874
|
-
...
|
|
875
|
-
|
|
876
|
-
def get(self):
|
|
877
|
-
"""Returns the value of the custom property assigned to key or default
|
|
878
|
-
when not found (matches Python's dictionary function of the same name).
|
|
879
|
-
|
|
880
|
-
"""
|
|
881
|
-
...
|
|
882
|
-
|
|
883
|
-
def id_properties_clear(self):
|
|
884
|
-
"""
|
|
885
|
-
|
|
886
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
887
|
-
"""
|
|
888
|
-
...
|
|
889
|
-
|
|
890
|
-
def id_properties_ensure(self):
|
|
891
|
-
"""
|
|
892
|
-
|
|
893
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
894
|
-
"""
|
|
895
|
-
...
|
|
896
|
-
|
|
897
|
-
def id_properties_ui(self):
|
|
898
|
-
"""
|
|
899
|
-
|
|
900
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
901
|
-
"""
|
|
902
|
-
...
|
|
903
|
-
|
|
904
|
-
def is_extended(self): ...
|
|
905
|
-
def is_property_hidden(self) -> bool:
|
|
906
|
-
"""Check if a property is hidden.
|
|
907
|
-
|
|
908
|
-
:return: True when the property is hidden.
|
|
909
|
-
:rtype: bool
|
|
910
|
-
"""
|
|
911
|
-
...
|
|
912
|
-
|
|
913
|
-
def is_property_overridable_library(self) -> bool:
|
|
914
|
-
"""Check if a property is overridable.
|
|
915
|
-
|
|
916
|
-
:return: True when the property is overridable.
|
|
917
|
-
:rtype: bool
|
|
918
|
-
"""
|
|
919
|
-
...
|
|
920
|
-
|
|
921
|
-
def is_property_readonly(self) -> bool:
|
|
922
|
-
"""Check if a property is readonly.
|
|
923
|
-
|
|
924
|
-
:return: True when the property is readonly (not writable).
|
|
925
|
-
:rtype: bool
|
|
926
|
-
"""
|
|
927
|
-
...
|
|
928
|
-
|
|
929
|
-
def is_property_set(self) -> bool:
|
|
930
|
-
"""Check if a property is set, use for testing operator properties.
|
|
931
|
-
|
|
932
|
-
:return: True when the property has been set.
|
|
933
|
-
:rtype: bool
|
|
934
|
-
"""
|
|
935
|
-
...
|
|
936
|
-
|
|
937
|
-
def items(self):
|
|
938
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
939
|
-
dictionary function of the same name).
|
|
940
|
-
|
|
941
|
-
:return: custom property key, value pairs.
|
|
942
|
-
"""
|
|
943
|
-
...
|
|
944
|
-
|
|
945
|
-
def keyframe_delete(self) -> bool:
|
|
946
|
-
"""Remove a keyframe from this properties fcurve.
|
|
947
|
-
|
|
948
|
-
:return: Success of keyframe deletion.
|
|
949
|
-
:rtype: bool
|
|
950
|
-
"""
|
|
951
|
-
...
|
|
952
|
-
|
|
953
|
-
def keyframe_insert(self) -> bool:
|
|
954
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
955
|
-
|
|
956
|
-
:return: Success of keyframe insertion.
|
|
957
|
-
:rtype: bool
|
|
958
|
-
"""
|
|
959
|
-
...
|
|
960
|
-
|
|
961
|
-
def keys(self):
|
|
962
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
963
|
-
dictionary function of the same name).
|
|
964
|
-
|
|
965
|
-
:return: custom property keys.
|
|
966
|
-
"""
|
|
967
|
-
...
|
|
968
|
-
|
|
969
|
-
def path_from_id(self) -> str:
|
|
970
|
-
"""Returns the data path from the ID to this object (string).
|
|
971
|
-
|
|
972
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
973
|
-
to this struct and property (when given).
|
|
974
|
-
:rtype: str
|
|
975
|
-
"""
|
|
976
|
-
...
|
|
977
|
-
|
|
978
|
-
def path_resolve(self):
|
|
979
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
980
|
-
...
|
|
981
|
-
|
|
982
|
-
def poll(self, context):
|
|
983
|
-
"""
|
|
984
|
-
|
|
985
|
-
:param context:
|
|
986
|
-
"""
|
|
987
|
-
...
|
|
988
|
-
|
|
989
|
-
def pop(self):
|
|
990
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
991
|
-
when not found (matches Python's dictionary function of the same name).
|
|
992
|
-
|
|
993
|
-
"""
|
|
994
|
-
...
|
|
995
|
-
|
|
996
|
-
def prepend(self, draw_func):
|
|
997
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
998
|
-
the menus draw function
|
|
999
|
-
|
|
1000
|
-
:param draw_func:
|
|
1001
|
-
"""
|
|
1002
|
-
...
|
|
1003
|
-
|
|
1004
|
-
def property_overridable_library_set(self) -> bool:
|
|
1005
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1006
|
-
|
|
1007
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1008
|
-
:rtype: bool
|
|
1009
|
-
"""
|
|
1010
|
-
...
|
|
1011
|
-
|
|
1012
|
-
def property_unset(self):
|
|
1013
|
-
"""Unset a property, will use default value afterward."""
|
|
1014
|
-
...
|
|
1015
|
-
|
|
1016
|
-
def remove(self, draw_func):
|
|
1017
|
-
"""Remove a draw function that has been added to this menu
|
|
1018
|
-
|
|
1019
|
-
:param draw_func:
|
|
1020
|
-
"""
|
|
1021
|
-
...
|
|
1022
|
-
|
|
1023
|
-
def type_recast(self):
|
|
1024
|
-
"""Return a new instance, this is needed because types
|
|
1025
|
-
such as textures can be changed at runtime.
|
|
1026
|
-
|
|
1027
|
-
:return: a new instance of this object with the type initialized again.
|
|
1028
|
-
"""
|
|
1029
|
-
...
|
|
1030
|
-
|
|
1031
|
-
def values(self):
|
|
1032
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1033
|
-
dictionary function of the same name).
|
|
1034
|
-
|
|
1035
|
-
:return: custom property values.
|
|
1036
|
-
"""
|
|
1037
|
-
...
|
|
1038
|
-
|
|
1039
|
-
class DATA_PT_camera_display(CameraButtonsPanel, bpy_types._GenericUI):
|
|
1040
|
-
COMPAT_ENGINES: typing.Any
|
|
1041
|
-
bl_context: typing.Any
|
|
1042
|
-
bl_label: typing.Any
|
|
1043
|
-
bl_options: typing.Any
|
|
1044
|
-
bl_region_type: typing.Any
|
|
1045
|
-
bl_rna: typing.Any
|
|
1046
|
-
bl_space_type: typing.Any
|
|
1047
|
-
id_data: typing.Any
|
|
1048
|
-
|
|
1049
|
-
def append(self, draw_func):
|
|
1050
|
-
"""Append a draw function to this menu,
|
|
1051
|
-
takes the same arguments as the menus draw function
|
|
1052
|
-
|
|
1053
|
-
:param draw_func:
|
|
1054
|
-
"""
|
|
1055
|
-
...
|
|
1056
|
-
|
|
1057
|
-
def as_pointer(self) -> int:
|
|
1058
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1059
|
-
|
|
1060
|
-
:return: int (memory address).
|
|
1061
|
-
:rtype: int
|
|
1062
|
-
"""
|
|
1063
|
-
...
|
|
1064
|
-
|
|
1065
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1066
|
-
"""
|
|
1067
|
-
|
|
1068
|
-
:return: The RNA type or default when not found.
|
|
1069
|
-
:rtype: bpy.types.Struct
|
|
1070
|
-
"""
|
|
1071
|
-
...
|
|
1072
|
-
|
|
1073
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1074
|
-
"""
|
|
1075
|
-
|
|
1076
|
-
:return: The class or default when not found.
|
|
1077
|
-
:rtype: typing.Any
|
|
1078
|
-
"""
|
|
1079
|
-
...
|
|
1080
|
-
|
|
1081
|
-
def draw(self, context):
|
|
1082
|
-
"""
|
|
1083
|
-
|
|
1084
|
-
:param context:
|
|
1085
|
-
"""
|
|
1086
|
-
...
|
|
1087
|
-
|
|
1088
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1089
|
-
"""Adds driver(s) to the given property
|
|
1090
|
-
|
|
1091
|
-
:return: The driver(s) added.
|
|
1092
|
-
:rtype: bpy.types.FCurve
|
|
1093
|
-
"""
|
|
1094
|
-
...
|
|
1095
|
-
|
|
1096
|
-
def driver_remove(self) -> bool:
|
|
1097
|
-
"""Remove driver(s) from the given property
|
|
1098
|
-
|
|
1099
|
-
:return: Success of driver removal.
|
|
1100
|
-
:rtype: bool
|
|
1101
|
-
"""
|
|
1102
|
-
...
|
|
1103
|
-
|
|
1104
|
-
def get(self):
|
|
1105
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1106
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1107
|
-
|
|
1108
|
-
"""
|
|
1109
|
-
...
|
|
1110
|
-
|
|
1111
|
-
def id_properties_clear(self):
|
|
1112
|
-
"""
|
|
1113
|
-
|
|
1114
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1115
|
-
"""
|
|
1116
|
-
...
|
|
1117
|
-
|
|
1118
|
-
def id_properties_ensure(self):
|
|
1119
|
-
"""
|
|
1120
|
-
|
|
1121
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1122
|
-
"""
|
|
1123
|
-
...
|
|
1124
|
-
|
|
1125
|
-
def id_properties_ui(self):
|
|
1126
|
-
"""
|
|
1127
|
-
|
|
1128
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1129
|
-
"""
|
|
1130
|
-
...
|
|
1131
|
-
|
|
1132
|
-
def is_extended(self): ...
|
|
1133
|
-
def is_property_hidden(self) -> bool:
|
|
1134
|
-
"""Check if a property is hidden.
|
|
1135
|
-
|
|
1136
|
-
:return: True when the property is hidden.
|
|
1137
|
-
:rtype: bool
|
|
1138
|
-
"""
|
|
1139
|
-
...
|
|
1140
|
-
|
|
1141
|
-
def is_property_overridable_library(self) -> bool:
|
|
1142
|
-
"""Check if a property is overridable.
|
|
1143
|
-
|
|
1144
|
-
:return: True when the property is overridable.
|
|
1145
|
-
:rtype: bool
|
|
1146
|
-
"""
|
|
1147
|
-
...
|
|
1148
|
-
|
|
1149
|
-
def is_property_readonly(self) -> bool:
|
|
1150
|
-
"""Check if a property is readonly.
|
|
1151
|
-
|
|
1152
|
-
:return: True when the property is readonly (not writable).
|
|
1153
|
-
:rtype: bool
|
|
1154
|
-
"""
|
|
1155
|
-
...
|
|
1156
|
-
|
|
1157
|
-
def is_property_set(self) -> bool:
|
|
1158
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1159
|
-
|
|
1160
|
-
:return: True when the property has been set.
|
|
1161
|
-
:rtype: bool
|
|
1162
|
-
"""
|
|
1163
|
-
...
|
|
1164
|
-
|
|
1165
|
-
def items(self):
|
|
1166
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1167
|
-
dictionary function of the same name).
|
|
1168
|
-
|
|
1169
|
-
:return: custom property key, value pairs.
|
|
1170
|
-
"""
|
|
1171
|
-
...
|
|
1172
|
-
|
|
1173
|
-
def keyframe_delete(self) -> bool:
|
|
1174
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1175
|
-
|
|
1176
|
-
:return: Success of keyframe deletion.
|
|
1177
|
-
:rtype: bool
|
|
1178
|
-
"""
|
|
1179
|
-
...
|
|
1180
|
-
|
|
1181
|
-
def keyframe_insert(self) -> bool:
|
|
1182
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1183
|
-
|
|
1184
|
-
:return: Success of keyframe insertion.
|
|
1185
|
-
:rtype: bool
|
|
1186
|
-
"""
|
|
1187
|
-
...
|
|
1188
|
-
|
|
1189
|
-
def keys(self):
|
|
1190
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1191
|
-
dictionary function of the same name).
|
|
1192
|
-
|
|
1193
|
-
:return: custom property keys.
|
|
1194
|
-
"""
|
|
1195
|
-
...
|
|
1196
|
-
|
|
1197
|
-
def path_from_id(self) -> str:
|
|
1198
|
-
"""Returns the data path from the ID to this object (string).
|
|
1199
|
-
|
|
1200
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1201
|
-
to this struct and property (when given).
|
|
1202
|
-
:rtype: str
|
|
1203
|
-
"""
|
|
1204
|
-
...
|
|
1205
|
-
|
|
1206
|
-
def path_resolve(self):
|
|
1207
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1208
|
-
...
|
|
1209
|
-
|
|
1210
|
-
def poll(self, context):
|
|
1211
|
-
"""
|
|
1212
|
-
|
|
1213
|
-
:param context:
|
|
1214
|
-
"""
|
|
1215
|
-
...
|
|
1216
|
-
|
|
1217
|
-
def pop(self):
|
|
1218
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1219
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1220
|
-
|
|
1221
|
-
"""
|
|
1222
|
-
...
|
|
1223
|
-
|
|
1224
|
-
def prepend(self, draw_func):
|
|
1225
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1226
|
-
the menus draw function
|
|
1227
|
-
|
|
1228
|
-
:param draw_func:
|
|
1229
|
-
"""
|
|
1230
|
-
...
|
|
1231
|
-
|
|
1232
|
-
def property_overridable_library_set(self) -> bool:
|
|
1233
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1234
|
-
|
|
1235
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1236
|
-
:rtype: bool
|
|
1237
|
-
"""
|
|
1238
|
-
...
|
|
1239
|
-
|
|
1240
|
-
def property_unset(self):
|
|
1241
|
-
"""Unset a property, will use default value afterward."""
|
|
1242
|
-
...
|
|
1243
|
-
|
|
1244
|
-
def remove(self, draw_func):
|
|
1245
|
-
"""Remove a draw function that has been added to this menu
|
|
1246
|
-
|
|
1247
|
-
:param draw_func:
|
|
1248
|
-
"""
|
|
1249
|
-
...
|
|
1250
|
-
|
|
1251
|
-
def type_recast(self):
|
|
1252
|
-
"""Return a new instance, this is needed because types
|
|
1253
|
-
such as textures can be changed at runtime.
|
|
1254
|
-
|
|
1255
|
-
:return: a new instance of this object with the type initialized again.
|
|
1256
|
-
"""
|
|
1257
|
-
...
|
|
1258
|
-
|
|
1259
|
-
def values(self):
|
|
1260
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1261
|
-
dictionary function of the same name).
|
|
1262
|
-
|
|
1263
|
-
:return: custom property values.
|
|
1264
|
-
"""
|
|
1265
|
-
...
|
|
1266
|
-
|
|
1267
|
-
class DATA_PT_camera_display_composition_guides(
|
|
1268
|
-
CameraButtonsPanel, bpy_types._GenericUI
|
|
1269
|
-
):
|
|
1270
|
-
COMPAT_ENGINES: typing.Any
|
|
1271
|
-
bl_context: typing.Any
|
|
1272
|
-
bl_label: typing.Any
|
|
1273
|
-
bl_options: typing.Any
|
|
1274
|
-
bl_parent_id: typing.Any
|
|
1275
|
-
bl_region_type: typing.Any
|
|
1276
|
-
bl_rna: typing.Any
|
|
1277
|
-
bl_space_type: typing.Any
|
|
1278
|
-
id_data: typing.Any
|
|
1279
|
-
|
|
1280
|
-
def append(self, draw_func):
|
|
1281
|
-
"""Append a draw function to this menu,
|
|
1282
|
-
takes the same arguments as the menus draw function
|
|
1283
|
-
|
|
1284
|
-
:param draw_func:
|
|
1285
|
-
"""
|
|
1286
|
-
...
|
|
1287
|
-
|
|
1288
|
-
def as_pointer(self) -> int:
|
|
1289
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1290
|
-
|
|
1291
|
-
:return: int (memory address).
|
|
1292
|
-
:rtype: int
|
|
1293
|
-
"""
|
|
1294
|
-
...
|
|
1295
|
-
|
|
1296
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1297
|
-
"""
|
|
1298
|
-
|
|
1299
|
-
:return: The RNA type or default when not found.
|
|
1300
|
-
:rtype: bpy.types.Struct
|
|
1301
|
-
"""
|
|
1302
|
-
...
|
|
1303
|
-
|
|
1304
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1305
|
-
"""
|
|
1306
|
-
|
|
1307
|
-
:return: The class or default when not found.
|
|
1308
|
-
:rtype: typing.Any
|
|
1309
|
-
"""
|
|
1310
|
-
...
|
|
1311
|
-
|
|
1312
|
-
def draw(self, context):
|
|
1313
|
-
"""
|
|
1314
|
-
|
|
1315
|
-
:param context:
|
|
1316
|
-
"""
|
|
1317
|
-
...
|
|
1318
|
-
|
|
1319
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1320
|
-
"""Adds driver(s) to the given property
|
|
1321
|
-
|
|
1322
|
-
:return: The driver(s) added.
|
|
1323
|
-
:rtype: bpy.types.FCurve
|
|
1324
|
-
"""
|
|
1325
|
-
...
|
|
1326
|
-
|
|
1327
|
-
def driver_remove(self) -> bool:
|
|
1328
|
-
"""Remove driver(s) from the given property
|
|
1329
|
-
|
|
1330
|
-
:return: Success of driver removal.
|
|
1331
|
-
:rtype: bool
|
|
1332
|
-
"""
|
|
1333
|
-
...
|
|
1334
|
-
|
|
1335
|
-
def get(self):
|
|
1336
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1337
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1338
|
-
|
|
1339
|
-
"""
|
|
1340
|
-
...
|
|
1341
|
-
|
|
1342
|
-
def id_properties_clear(self):
|
|
1343
|
-
"""
|
|
1344
|
-
|
|
1345
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1346
|
-
"""
|
|
1347
|
-
...
|
|
1348
|
-
|
|
1349
|
-
def id_properties_ensure(self):
|
|
1350
|
-
"""
|
|
1351
|
-
|
|
1352
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1353
|
-
"""
|
|
1354
|
-
...
|
|
1355
|
-
|
|
1356
|
-
def id_properties_ui(self):
|
|
1357
|
-
"""
|
|
1358
|
-
|
|
1359
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1360
|
-
"""
|
|
1361
|
-
...
|
|
1362
|
-
|
|
1363
|
-
def is_extended(self): ...
|
|
1364
|
-
def is_property_hidden(self) -> bool:
|
|
1365
|
-
"""Check if a property is hidden.
|
|
1366
|
-
|
|
1367
|
-
:return: True when the property is hidden.
|
|
1368
|
-
:rtype: bool
|
|
1369
|
-
"""
|
|
1370
|
-
...
|
|
1371
|
-
|
|
1372
|
-
def is_property_overridable_library(self) -> bool:
|
|
1373
|
-
"""Check if a property is overridable.
|
|
1374
|
-
|
|
1375
|
-
:return: True when the property is overridable.
|
|
1376
|
-
:rtype: bool
|
|
1377
|
-
"""
|
|
1378
|
-
...
|
|
1379
|
-
|
|
1380
|
-
def is_property_readonly(self) -> bool:
|
|
1381
|
-
"""Check if a property is readonly.
|
|
1382
|
-
|
|
1383
|
-
:return: True when the property is readonly (not writable).
|
|
1384
|
-
:rtype: bool
|
|
1385
|
-
"""
|
|
1386
|
-
...
|
|
1387
|
-
|
|
1388
|
-
def is_property_set(self) -> bool:
|
|
1389
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1390
|
-
|
|
1391
|
-
:return: True when the property has been set.
|
|
1392
|
-
:rtype: bool
|
|
1393
|
-
"""
|
|
1394
|
-
...
|
|
1395
|
-
|
|
1396
|
-
def items(self):
|
|
1397
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1398
|
-
dictionary function of the same name).
|
|
1399
|
-
|
|
1400
|
-
:return: custom property key, value pairs.
|
|
1401
|
-
"""
|
|
1402
|
-
...
|
|
1403
|
-
|
|
1404
|
-
def keyframe_delete(self) -> bool:
|
|
1405
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1406
|
-
|
|
1407
|
-
:return: Success of keyframe deletion.
|
|
1408
|
-
:rtype: bool
|
|
1409
|
-
"""
|
|
1410
|
-
...
|
|
1411
|
-
|
|
1412
|
-
def keyframe_insert(self) -> bool:
|
|
1413
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1414
|
-
|
|
1415
|
-
:return: Success of keyframe insertion.
|
|
1416
|
-
:rtype: bool
|
|
1417
|
-
"""
|
|
1418
|
-
...
|
|
1419
|
-
|
|
1420
|
-
def keys(self):
|
|
1421
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1422
|
-
dictionary function of the same name).
|
|
1423
|
-
|
|
1424
|
-
:return: custom property keys.
|
|
1425
|
-
"""
|
|
1426
|
-
...
|
|
1427
|
-
|
|
1428
|
-
def path_from_id(self) -> str:
|
|
1429
|
-
"""Returns the data path from the ID to this object (string).
|
|
1430
|
-
|
|
1431
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1432
|
-
to this struct and property (when given).
|
|
1433
|
-
:rtype: str
|
|
1434
|
-
"""
|
|
1435
|
-
...
|
|
1436
|
-
|
|
1437
|
-
def path_resolve(self):
|
|
1438
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1439
|
-
...
|
|
1440
|
-
|
|
1441
|
-
def poll(self, context):
|
|
1442
|
-
"""
|
|
1443
|
-
|
|
1444
|
-
:param context:
|
|
1445
|
-
"""
|
|
1446
|
-
...
|
|
1447
|
-
|
|
1448
|
-
def pop(self):
|
|
1449
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1450
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1451
|
-
|
|
1452
|
-
"""
|
|
1453
|
-
...
|
|
1454
|
-
|
|
1455
|
-
def prepend(self, draw_func):
|
|
1456
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1457
|
-
the menus draw function
|
|
1458
|
-
|
|
1459
|
-
:param draw_func:
|
|
1460
|
-
"""
|
|
1461
|
-
...
|
|
1462
|
-
|
|
1463
|
-
def property_overridable_library_set(self) -> bool:
|
|
1464
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1465
|
-
|
|
1466
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1467
|
-
:rtype: bool
|
|
1468
|
-
"""
|
|
1469
|
-
...
|
|
1470
|
-
|
|
1471
|
-
def property_unset(self):
|
|
1472
|
-
"""Unset a property, will use default value afterward."""
|
|
1473
|
-
...
|
|
1474
|
-
|
|
1475
|
-
def remove(self, draw_func):
|
|
1476
|
-
"""Remove a draw function that has been added to this menu
|
|
1477
|
-
|
|
1478
|
-
:param draw_func:
|
|
1479
|
-
"""
|
|
1480
|
-
...
|
|
1481
|
-
|
|
1482
|
-
def type_recast(self):
|
|
1483
|
-
"""Return a new instance, this is needed because types
|
|
1484
|
-
such as textures can be changed at runtime.
|
|
1485
|
-
|
|
1486
|
-
:return: a new instance of this object with the type initialized again.
|
|
1487
|
-
"""
|
|
1488
|
-
...
|
|
1489
|
-
|
|
1490
|
-
def values(self):
|
|
1491
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1492
|
-
dictionary function of the same name).
|
|
1493
|
-
|
|
1494
|
-
:return: custom property values.
|
|
1495
|
-
"""
|
|
1496
|
-
...
|
|
1497
|
-
|
|
1498
|
-
class DATA_PT_camera_dof(CameraButtonsPanel, bpy_types._GenericUI):
|
|
1499
|
-
COMPAT_ENGINES: typing.Any
|
|
1500
|
-
bl_context: typing.Any
|
|
1501
|
-
bl_label: typing.Any
|
|
1502
|
-
bl_options: typing.Any
|
|
1503
|
-
bl_region_type: typing.Any
|
|
1504
|
-
bl_rna: typing.Any
|
|
1505
|
-
bl_space_type: typing.Any
|
|
1506
|
-
id_data: typing.Any
|
|
1507
|
-
|
|
1508
|
-
def append(self, draw_func):
|
|
1509
|
-
"""Append a draw function to this menu,
|
|
1510
|
-
takes the same arguments as the menus draw function
|
|
1511
|
-
|
|
1512
|
-
:param draw_func:
|
|
1513
|
-
"""
|
|
1514
|
-
...
|
|
1515
|
-
|
|
1516
|
-
def as_pointer(self) -> int:
|
|
1517
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1518
|
-
|
|
1519
|
-
:return: int (memory address).
|
|
1520
|
-
:rtype: int
|
|
1521
|
-
"""
|
|
1522
|
-
...
|
|
1523
|
-
|
|
1524
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1525
|
-
"""
|
|
1526
|
-
|
|
1527
|
-
:return: The RNA type or default when not found.
|
|
1528
|
-
:rtype: bpy.types.Struct
|
|
1529
|
-
"""
|
|
1530
|
-
...
|
|
1531
|
-
|
|
1532
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1533
|
-
"""
|
|
1534
|
-
|
|
1535
|
-
:return: The class or default when not found.
|
|
1536
|
-
:rtype: typing.Any
|
|
1537
|
-
"""
|
|
1538
|
-
...
|
|
1539
|
-
|
|
1540
|
-
def draw(self, context):
|
|
1541
|
-
"""
|
|
1542
|
-
|
|
1543
|
-
:param context:
|
|
1544
|
-
"""
|
|
1545
|
-
...
|
|
1546
|
-
|
|
1547
|
-
def draw_header(self, context):
|
|
1548
|
-
"""
|
|
1549
|
-
|
|
1550
|
-
:param context:
|
|
1551
|
-
"""
|
|
1552
|
-
...
|
|
1553
|
-
|
|
1554
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1555
|
-
"""Adds driver(s) to the given property
|
|
1556
|
-
|
|
1557
|
-
:return: The driver(s) added.
|
|
1558
|
-
:rtype: bpy.types.FCurve
|
|
1559
|
-
"""
|
|
1560
|
-
...
|
|
1561
|
-
|
|
1562
|
-
def driver_remove(self) -> bool:
|
|
1563
|
-
"""Remove driver(s) from the given property
|
|
1564
|
-
|
|
1565
|
-
:return: Success of driver removal.
|
|
1566
|
-
:rtype: bool
|
|
1567
|
-
"""
|
|
1568
|
-
...
|
|
1569
|
-
|
|
1570
|
-
def get(self):
|
|
1571
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1572
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1573
|
-
|
|
1574
|
-
"""
|
|
1575
|
-
...
|
|
1576
|
-
|
|
1577
|
-
def id_properties_clear(self):
|
|
1578
|
-
"""
|
|
1579
|
-
|
|
1580
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1581
|
-
"""
|
|
1582
|
-
...
|
|
1583
|
-
|
|
1584
|
-
def id_properties_ensure(self):
|
|
1585
|
-
"""
|
|
1586
|
-
|
|
1587
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1588
|
-
"""
|
|
1589
|
-
...
|
|
1590
|
-
|
|
1591
|
-
def id_properties_ui(self):
|
|
1592
|
-
"""
|
|
1593
|
-
|
|
1594
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1595
|
-
"""
|
|
1596
|
-
...
|
|
1597
|
-
|
|
1598
|
-
def is_extended(self): ...
|
|
1599
|
-
def is_property_hidden(self) -> bool:
|
|
1600
|
-
"""Check if a property is hidden.
|
|
1601
|
-
|
|
1602
|
-
:return: True when the property is hidden.
|
|
1603
|
-
:rtype: bool
|
|
1604
|
-
"""
|
|
1605
|
-
...
|
|
1606
|
-
|
|
1607
|
-
def is_property_overridable_library(self) -> bool:
|
|
1608
|
-
"""Check if a property is overridable.
|
|
1609
|
-
|
|
1610
|
-
:return: True when the property is overridable.
|
|
1611
|
-
:rtype: bool
|
|
1612
|
-
"""
|
|
1613
|
-
...
|
|
1614
|
-
|
|
1615
|
-
def is_property_readonly(self) -> bool:
|
|
1616
|
-
"""Check if a property is readonly.
|
|
1617
|
-
|
|
1618
|
-
:return: True when the property is readonly (not writable).
|
|
1619
|
-
:rtype: bool
|
|
1620
|
-
"""
|
|
1621
|
-
...
|
|
1622
|
-
|
|
1623
|
-
def is_property_set(self) -> bool:
|
|
1624
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1625
|
-
|
|
1626
|
-
:return: True when the property has been set.
|
|
1627
|
-
:rtype: bool
|
|
1628
|
-
"""
|
|
1629
|
-
...
|
|
1630
|
-
|
|
1631
|
-
def items(self):
|
|
1632
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1633
|
-
dictionary function of the same name).
|
|
1634
|
-
|
|
1635
|
-
:return: custom property key, value pairs.
|
|
1636
|
-
"""
|
|
1637
|
-
...
|
|
1638
|
-
|
|
1639
|
-
def keyframe_delete(self) -> bool:
|
|
1640
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1641
|
-
|
|
1642
|
-
:return: Success of keyframe deletion.
|
|
1643
|
-
:rtype: bool
|
|
1644
|
-
"""
|
|
1645
|
-
...
|
|
1646
|
-
|
|
1647
|
-
def keyframe_insert(self) -> bool:
|
|
1648
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1649
|
-
|
|
1650
|
-
:return: Success of keyframe insertion.
|
|
1651
|
-
:rtype: bool
|
|
1652
|
-
"""
|
|
1653
|
-
...
|
|
1654
|
-
|
|
1655
|
-
def keys(self):
|
|
1656
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1657
|
-
dictionary function of the same name).
|
|
1658
|
-
|
|
1659
|
-
:return: custom property keys.
|
|
1660
|
-
"""
|
|
1661
|
-
...
|
|
1662
|
-
|
|
1663
|
-
def path_from_id(self) -> str:
|
|
1664
|
-
"""Returns the data path from the ID to this object (string).
|
|
1665
|
-
|
|
1666
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1667
|
-
to this struct and property (when given).
|
|
1668
|
-
:rtype: str
|
|
1669
|
-
"""
|
|
1670
|
-
...
|
|
1671
|
-
|
|
1672
|
-
def path_resolve(self):
|
|
1673
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1674
|
-
...
|
|
1675
|
-
|
|
1676
|
-
def poll(self, context):
|
|
1677
|
-
"""
|
|
1678
|
-
|
|
1679
|
-
:param context:
|
|
1680
|
-
"""
|
|
1681
|
-
...
|
|
1682
|
-
|
|
1683
|
-
def pop(self):
|
|
1684
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1685
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1686
|
-
|
|
1687
|
-
"""
|
|
1688
|
-
...
|
|
1689
|
-
|
|
1690
|
-
def prepend(self, draw_func):
|
|
1691
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1692
|
-
the menus draw function
|
|
1693
|
-
|
|
1694
|
-
:param draw_func:
|
|
1695
|
-
"""
|
|
1696
|
-
...
|
|
1697
|
-
|
|
1698
|
-
def property_overridable_library_set(self) -> bool:
|
|
1699
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1700
|
-
|
|
1701
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1702
|
-
:rtype: bool
|
|
1703
|
-
"""
|
|
1704
|
-
...
|
|
1705
|
-
|
|
1706
|
-
def property_unset(self):
|
|
1707
|
-
"""Unset a property, will use default value afterward."""
|
|
1708
|
-
...
|
|
1709
|
-
|
|
1710
|
-
def remove(self, draw_func):
|
|
1711
|
-
"""Remove a draw function that has been added to this menu
|
|
1712
|
-
|
|
1713
|
-
:param draw_func:
|
|
1714
|
-
"""
|
|
1715
|
-
...
|
|
1716
|
-
|
|
1717
|
-
def type_recast(self):
|
|
1718
|
-
"""Return a new instance, this is needed because types
|
|
1719
|
-
such as textures can be changed at runtime.
|
|
1720
|
-
|
|
1721
|
-
:return: a new instance of this object with the type initialized again.
|
|
1722
|
-
"""
|
|
1723
|
-
...
|
|
1724
|
-
|
|
1725
|
-
def values(self):
|
|
1726
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1727
|
-
dictionary function of the same name).
|
|
1728
|
-
|
|
1729
|
-
:return: custom property values.
|
|
1730
|
-
"""
|
|
1731
|
-
...
|
|
1732
|
-
|
|
1733
|
-
class DATA_PT_camera_dof_aperture(CameraButtonsPanel, bpy_types._GenericUI):
|
|
1734
|
-
COMPAT_ENGINES: typing.Any
|
|
1735
|
-
bl_context: typing.Any
|
|
1736
|
-
bl_label: typing.Any
|
|
1737
|
-
bl_parent_id: typing.Any
|
|
1738
|
-
bl_region_type: typing.Any
|
|
1739
|
-
bl_rna: typing.Any
|
|
1740
|
-
bl_space_type: typing.Any
|
|
1741
|
-
id_data: typing.Any
|
|
1742
|
-
|
|
1743
|
-
def append(self, draw_func):
|
|
1744
|
-
"""Append a draw function to this menu,
|
|
1745
|
-
takes the same arguments as the menus draw function
|
|
1746
|
-
|
|
1747
|
-
:param draw_func:
|
|
1748
|
-
"""
|
|
1749
|
-
...
|
|
1750
|
-
|
|
1751
|
-
def as_pointer(self) -> int:
|
|
1752
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1753
|
-
|
|
1754
|
-
:return: int (memory address).
|
|
1755
|
-
:rtype: int
|
|
1756
|
-
"""
|
|
1757
|
-
...
|
|
1758
|
-
|
|
1759
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1760
|
-
"""
|
|
1761
|
-
|
|
1762
|
-
:return: The RNA type or default when not found.
|
|
1763
|
-
:rtype: bpy.types.Struct
|
|
1764
|
-
"""
|
|
1765
|
-
...
|
|
1766
|
-
|
|
1767
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1768
|
-
"""
|
|
1769
|
-
|
|
1770
|
-
:return: The class or default when not found.
|
|
1771
|
-
:rtype: typing.Any
|
|
1772
|
-
"""
|
|
1773
|
-
...
|
|
1774
|
-
|
|
1775
|
-
def draw(self, context):
|
|
1776
|
-
"""
|
|
1777
|
-
|
|
1778
|
-
:param context:
|
|
1779
|
-
"""
|
|
1780
|
-
...
|
|
1781
|
-
|
|
1782
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1783
|
-
"""Adds driver(s) to the given property
|
|
1784
|
-
|
|
1785
|
-
:return: The driver(s) added.
|
|
1786
|
-
:rtype: bpy.types.FCurve
|
|
1787
|
-
"""
|
|
1788
|
-
...
|
|
1789
|
-
|
|
1790
|
-
def driver_remove(self) -> bool:
|
|
1791
|
-
"""Remove driver(s) from the given property
|
|
1792
|
-
|
|
1793
|
-
:return: Success of driver removal.
|
|
1794
|
-
:rtype: bool
|
|
1795
|
-
"""
|
|
1796
|
-
...
|
|
1797
|
-
|
|
1798
|
-
def get(self):
|
|
1799
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1800
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1801
|
-
|
|
1802
|
-
"""
|
|
1803
|
-
...
|
|
1804
|
-
|
|
1805
|
-
def id_properties_clear(self):
|
|
1806
|
-
"""
|
|
1807
|
-
|
|
1808
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1809
|
-
"""
|
|
1810
|
-
...
|
|
1811
|
-
|
|
1812
|
-
def id_properties_ensure(self):
|
|
1813
|
-
"""
|
|
1814
|
-
|
|
1815
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1816
|
-
"""
|
|
1817
|
-
...
|
|
1818
|
-
|
|
1819
|
-
def id_properties_ui(self):
|
|
1820
|
-
"""
|
|
1821
|
-
|
|
1822
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1823
|
-
"""
|
|
1824
|
-
...
|
|
1825
|
-
|
|
1826
|
-
def is_extended(self): ...
|
|
1827
|
-
def is_property_hidden(self) -> bool:
|
|
1828
|
-
"""Check if a property is hidden.
|
|
1829
|
-
|
|
1830
|
-
:return: True when the property is hidden.
|
|
1831
|
-
:rtype: bool
|
|
1832
|
-
"""
|
|
1833
|
-
...
|
|
1834
|
-
|
|
1835
|
-
def is_property_overridable_library(self) -> bool:
|
|
1836
|
-
"""Check if a property is overridable.
|
|
1837
|
-
|
|
1838
|
-
:return: True when the property is overridable.
|
|
1839
|
-
:rtype: bool
|
|
1840
|
-
"""
|
|
1841
|
-
...
|
|
1842
|
-
|
|
1843
|
-
def is_property_readonly(self) -> bool:
|
|
1844
|
-
"""Check if a property is readonly.
|
|
1845
|
-
|
|
1846
|
-
:return: True when the property is readonly (not writable).
|
|
1847
|
-
:rtype: bool
|
|
1848
|
-
"""
|
|
1849
|
-
...
|
|
1850
|
-
|
|
1851
|
-
def is_property_set(self) -> bool:
|
|
1852
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1853
|
-
|
|
1854
|
-
:return: True when the property has been set.
|
|
1855
|
-
:rtype: bool
|
|
1856
|
-
"""
|
|
1857
|
-
...
|
|
1858
|
-
|
|
1859
|
-
def items(self):
|
|
1860
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1861
|
-
dictionary function of the same name).
|
|
1862
|
-
|
|
1863
|
-
:return: custom property key, value pairs.
|
|
1864
|
-
"""
|
|
1865
|
-
...
|
|
1866
|
-
|
|
1867
|
-
def keyframe_delete(self) -> bool:
|
|
1868
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1869
|
-
|
|
1870
|
-
:return: Success of keyframe deletion.
|
|
1871
|
-
:rtype: bool
|
|
1872
|
-
"""
|
|
1873
|
-
...
|
|
1874
|
-
|
|
1875
|
-
def keyframe_insert(self) -> bool:
|
|
1876
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1877
|
-
|
|
1878
|
-
:return: Success of keyframe insertion.
|
|
1879
|
-
:rtype: bool
|
|
1880
|
-
"""
|
|
1881
|
-
...
|
|
1882
|
-
|
|
1883
|
-
def keys(self):
|
|
1884
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1885
|
-
dictionary function of the same name).
|
|
1886
|
-
|
|
1887
|
-
:return: custom property keys.
|
|
1888
|
-
"""
|
|
1889
|
-
...
|
|
1890
|
-
|
|
1891
|
-
def path_from_id(self) -> str:
|
|
1892
|
-
"""Returns the data path from the ID to this object (string).
|
|
1893
|
-
|
|
1894
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1895
|
-
to this struct and property (when given).
|
|
1896
|
-
:rtype: str
|
|
1897
|
-
"""
|
|
1898
|
-
...
|
|
1899
|
-
|
|
1900
|
-
def path_resolve(self):
|
|
1901
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1902
|
-
...
|
|
1903
|
-
|
|
1904
|
-
def poll(self, context):
|
|
1905
|
-
"""
|
|
1906
|
-
|
|
1907
|
-
:param context:
|
|
1908
|
-
"""
|
|
1909
|
-
...
|
|
1910
|
-
|
|
1911
|
-
def pop(self):
|
|
1912
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1913
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1914
|
-
|
|
1915
|
-
"""
|
|
1916
|
-
...
|
|
1917
|
-
|
|
1918
|
-
def prepend(self, draw_func):
|
|
1919
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1920
|
-
the menus draw function
|
|
1921
|
-
|
|
1922
|
-
:param draw_func:
|
|
1923
|
-
"""
|
|
1924
|
-
...
|
|
1925
|
-
|
|
1926
|
-
def property_overridable_library_set(self) -> bool:
|
|
1927
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1928
|
-
|
|
1929
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1930
|
-
:rtype: bool
|
|
1931
|
-
"""
|
|
1932
|
-
...
|
|
1933
|
-
|
|
1934
|
-
def property_unset(self):
|
|
1935
|
-
"""Unset a property, will use default value afterward."""
|
|
1936
|
-
...
|
|
1937
|
-
|
|
1938
|
-
def remove(self, draw_func):
|
|
1939
|
-
"""Remove a draw function that has been added to this menu
|
|
1940
|
-
|
|
1941
|
-
:param draw_func:
|
|
1942
|
-
"""
|
|
1943
|
-
...
|
|
1944
|
-
|
|
1945
|
-
def type_recast(self):
|
|
1946
|
-
"""Return a new instance, this is needed because types
|
|
1947
|
-
such as textures can be changed at runtime.
|
|
1948
|
-
|
|
1949
|
-
:return: a new instance of this object with the type initialized again.
|
|
1950
|
-
"""
|
|
1951
|
-
...
|
|
1952
|
-
|
|
1953
|
-
def values(self):
|
|
1954
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1955
|
-
dictionary function of the same name).
|
|
1956
|
-
|
|
1957
|
-
:return: custom property values.
|
|
1958
|
-
"""
|
|
1959
|
-
...
|
|
1960
|
-
|
|
1961
|
-
class DATA_PT_camera_safe_areas(CameraButtonsPanel, bpy_types._GenericUI):
|
|
1962
|
-
COMPAT_ENGINES: typing.Any
|
|
1963
|
-
bl_context: typing.Any
|
|
1964
|
-
bl_label: typing.Any
|
|
1965
|
-
bl_options: typing.Any
|
|
1966
|
-
bl_region_type: typing.Any
|
|
1967
|
-
bl_rna: typing.Any
|
|
1968
|
-
bl_space_type: typing.Any
|
|
1969
|
-
id_data: typing.Any
|
|
1970
|
-
|
|
1971
|
-
def append(self, draw_func):
|
|
1972
|
-
"""Append a draw function to this menu,
|
|
1973
|
-
takes the same arguments as the menus draw function
|
|
1974
|
-
|
|
1975
|
-
:param draw_func:
|
|
1976
|
-
"""
|
|
1977
|
-
...
|
|
1978
|
-
|
|
1979
|
-
def as_pointer(self) -> int:
|
|
1980
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1981
|
-
|
|
1982
|
-
:return: int (memory address).
|
|
1983
|
-
:rtype: int
|
|
1984
|
-
"""
|
|
1985
|
-
...
|
|
1986
|
-
|
|
1987
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1988
|
-
"""
|
|
1989
|
-
|
|
1990
|
-
:return: The RNA type or default when not found.
|
|
1991
|
-
:rtype: bpy.types.Struct
|
|
1992
|
-
"""
|
|
1993
|
-
...
|
|
1994
|
-
|
|
1995
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1996
|
-
"""
|
|
1997
|
-
|
|
1998
|
-
:return: The class or default when not found.
|
|
1999
|
-
:rtype: typing.Any
|
|
2000
|
-
"""
|
|
2001
|
-
...
|
|
2002
|
-
|
|
2003
|
-
def draw(self, context):
|
|
2004
|
-
"""
|
|
2005
|
-
|
|
2006
|
-
:param context:
|
|
2007
|
-
"""
|
|
2008
|
-
...
|
|
2009
|
-
|
|
2010
|
-
def draw_header(self, context):
|
|
2011
|
-
"""
|
|
2012
|
-
|
|
2013
|
-
:param context:
|
|
2014
|
-
"""
|
|
2015
|
-
...
|
|
2016
|
-
|
|
2017
|
-
def draw_header_preset(self, _context):
|
|
2018
|
-
"""
|
|
2019
|
-
|
|
2020
|
-
:param _context:
|
|
2021
|
-
"""
|
|
2022
|
-
...
|
|
2023
|
-
|
|
2024
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2025
|
-
"""Adds driver(s) to the given property
|
|
2026
|
-
|
|
2027
|
-
:return: The driver(s) added.
|
|
2028
|
-
:rtype: bpy.types.FCurve
|
|
2029
|
-
"""
|
|
2030
|
-
...
|
|
2031
|
-
|
|
2032
|
-
def driver_remove(self) -> bool:
|
|
2033
|
-
"""Remove driver(s) from the given property
|
|
2034
|
-
|
|
2035
|
-
:return: Success of driver removal.
|
|
2036
|
-
:rtype: bool
|
|
2037
|
-
"""
|
|
2038
|
-
...
|
|
2039
|
-
|
|
2040
|
-
def get(self):
|
|
2041
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2042
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2043
|
-
|
|
2044
|
-
"""
|
|
2045
|
-
...
|
|
2046
|
-
|
|
2047
|
-
def id_properties_clear(self):
|
|
2048
|
-
"""
|
|
2049
|
-
|
|
2050
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2051
|
-
"""
|
|
2052
|
-
...
|
|
2053
|
-
|
|
2054
|
-
def id_properties_ensure(self):
|
|
2055
|
-
"""
|
|
2056
|
-
|
|
2057
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2058
|
-
"""
|
|
2059
|
-
...
|
|
2060
|
-
|
|
2061
|
-
def id_properties_ui(self):
|
|
2062
|
-
"""
|
|
2063
|
-
|
|
2064
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2065
|
-
"""
|
|
2066
|
-
...
|
|
2067
|
-
|
|
2068
|
-
def is_extended(self): ...
|
|
2069
|
-
def is_property_hidden(self) -> bool:
|
|
2070
|
-
"""Check if a property is hidden.
|
|
2071
|
-
|
|
2072
|
-
:return: True when the property is hidden.
|
|
2073
|
-
:rtype: bool
|
|
2074
|
-
"""
|
|
2075
|
-
...
|
|
2076
|
-
|
|
2077
|
-
def is_property_overridable_library(self) -> bool:
|
|
2078
|
-
"""Check if a property is overridable.
|
|
2079
|
-
|
|
2080
|
-
:return: True when the property is overridable.
|
|
2081
|
-
:rtype: bool
|
|
2082
|
-
"""
|
|
2083
|
-
...
|
|
2084
|
-
|
|
2085
|
-
def is_property_readonly(self) -> bool:
|
|
2086
|
-
"""Check if a property is readonly.
|
|
2087
|
-
|
|
2088
|
-
:return: True when the property is readonly (not writable).
|
|
2089
|
-
:rtype: bool
|
|
2090
|
-
"""
|
|
2091
|
-
...
|
|
2092
|
-
|
|
2093
|
-
def is_property_set(self) -> bool:
|
|
2094
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2095
|
-
|
|
2096
|
-
:return: True when the property has been set.
|
|
2097
|
-
:rtype: bool
|
|
2098
|
-
"""
|
|
2099
|
-
...
|
|
2100
|
-
|
|
2101
|
-
def items(self):
|
|
2102
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2103
|
-
dictionary function of the same name).
|
|
2104
|
-
|
|
2105
|
-
:return: custom property key, value pairs.
|
|
2106
|
-
"""
|
|
2107
|
-
...
|
|
2108
|
-
|
|
2109
|
-
def keyframe_delete(self) -> bool:
|
|
2110
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2111
|
-
|
|
2112
|
-
:return: Success of keyframe deletion.
|
|
2113
|
-
:rtype: bool
|
|
2114
|
-
"""
|
|
2115
|
-
...
|
|
2116
|
-
|
|
2117
|
-
def keyframe_insert(self) -> bool:
|
|
2118
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2119
|
-
|
|
2120
|
-
:return: Success of keyframe insertion.
|
|
2121
|
-
:rtype: bool
|
|
2122
|
-
"""
|
|
2123
|
-
...
|
|
2124
|
-
|
|
2125
|
-
def keys(self):
|
|
2126
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2127
|
-
dictionary function of the same name).
|
|
2128
|
-
|
|
2129
|
-
:return: custom property keys.
|
|
2130
|
-
"""
|
|
2131
|
-
...
|
|
2132
|
-
|
|
2133
|
-
def path_from_id(self) -> str:
|
|
2134
|
-
"""Returns the data path from the ID to this object (string).
|
|
2135
|
-
|
|
2136
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2137
|
-
to this struct and property (when given).
|
|
2138
|
-
:rtype: str
|
|
2139
|
-
"""
|
|
2140
|
-
...
|
|
2141
|
-
|
|
2142
|
-
def path_resolve(self):
|
|
2143
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2144
|
-
...
|
|
2145
|
-
|
|
2146
|
-
def poll(self, context):
|
|
2147
|
-
"""
|
|
2148
|
-
|
|
2149
|
-
:param context:
|
|
2150
|
-
"""
|
|
2151
|
-
...
|
|
2152
|
-
|
|
2153
|
-
def pop(self):
|
|
2154
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2155
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2156
|
-
|
|
2157
|
-
"""
|
|
2158
|
-
...
|
|
2159
|
-
|
|
2160
|
-
def prepend(self, draw_func):
|
|
2161
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2162
|
-
the menus draw function
|
|
2163
|
-
|
|
2164
|
-
:param draw_func:
|
|
2165
|
-
"""
|
|
2166
|
-
...
|
|
2167
|
-
|
|
2168
|
-
def property_overridable_library_set(self) -> bool:
|
|
2169
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2170
|
-
|
|
2171
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2172
|
-
:rtype: bool
|
|
2173
|
-
"""
|
|
2174
|
-
...
|
|
2175
|
-
|
|
2176
|
-
def property_unset(self):
|
|
2177
|
-
"""Unset a property, will use default value afterward."""
|
|
2178
|
-
...
|
|
2179
|
-
|
|
2180
|
-
def remove(self, draw_func):
|
|
2181
|
-
"""Remove a draw function that has been added to this menu
|
|
2182
|
-
|
|
2183
|
-
:param draw_func:
|
|
2184
|
-
"""
|
|
2185
|
-
...
|
|
2186
|
-
|
|
2187
|
-
def type_recast(self):
|
|
2188
|
-
"""Return a new instance, this is needed because types
|
|
2189
|
-
such as textures can be changed at runtime.
|
|
2190
|
-
|
|
2191
|
-
:return: a new instance of this object with the type initialized again.
|
|
2192
|
-
"""
|
|
2193
|
-
...
|
|
2194
|
-
|
|
2195
|
-
def values(self):
|
|
2196
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2197
|
-
dictionary function of the same name).
|
|
2198
|
-
|
|
2199
|
-
:return: custom property values.
|
|
2200
|
-
"""
|
|
2201
|
-
...
|
|
2202
|
-
|
|
2203
|
-
class DATA_PT_camera_safe_areas_center_cut(CameraButtonsPanel, bpy_types._GenericUI):
|
|
2204
|
-
COMPAT_ENGINES: typing.Any
|
|
2205
|
-
bl_context: typing.Any
|
|
2206
|
-
bl_label: typing.Any
|
|
2207
|
-
bl_options: typing.Any
|
|
2208
|
-
bl_parent_id: typing.Any
|
|
2209
|
-
bl_region_type: typing.Any
|
|
2210
|
-
bl_rna: typing.Any
|
|
2211
|
-
bl_space_type: typing.Any
|
|
2212
|
-
id_data: typing.Any
|
|
2213
|
-
|
|
2214
|
-
def append(self, draw_func):
|
|
2215
|
-
"""Append a draw function to this menu,
|
|
2216
|
-
takes the same arguments as the menus draw function
|
|
2217
|
-
|
|
2218
|
-
:param draw_func:
|
|
2219
|
-
"""
|
|
2220
|
-
...
|
|
2221
|
-
|
|
2222
|
-
def as_pointer(self) -> int:
|
|
2223
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2224
|
-
|
|
2225
|
-
:return: int (memory address).
|
|
2226
|
-
:rtype: int
|
|
2227
|
-
"""
|
|
2228
|
-
...
|
|
2229
|
-
|
|
2230
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2231
|
-
"""
|
|
2232
|
-
|
|
2233
|
-
:return: The RNA type or default when not found.
|
|
2234
|
-
:rtype: bpy.types.Struct
|
|
2235
|
-
"""
|
|
2236
|
-
...
|
|
2237
|
-
|
|
2238
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2239
|
-
"""
|
|
2240
|
-
|
|
2241
|
-
:return: The class or default when not found.
|
|
2242
|
-
:rtype: typing.Any
|
|
2243
|
-
"""
|
|
2244
|
-
...
|
|
2245
|
-
|
|
2246
|
-
def draw(self, context):
|
|
2247
|
-
"""
|
|
2248
|
-
|
|
2249
|
-
:param context:
|
|
2250
|
-
"""
|
|
2251
|
-
...
|
|
2252
|
-
|
|
2253
|
-
def draw_header(self, context):
|
|
2254
|
-
"""
|
|
2255
|
-
|
|
2256
|
-
:param context:
|
|
2257
|
-
"""
|
|
2258
|
-
...
|
|
2259
|
-
|
|
2260
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2261
|
-
"""Adds driver(s) to the given property
|
|
2262
|
-
|
|
2263
|
-
:return: The driver(s) added.
|
|
2264
|
-
:rtype: bpy.types.FCurve
|
|
2265
|
-
"""
|
|
2266
|
-
...
|
|
2267
|
-
|
|
2268
|
-
def driver_remove(self) -> bool:
|
|
2269
|
-
"""Remove driver(s) from the given property
|
|
2270
|
-
|
|
2271
|
-
:return: Success of driver removal.
|
|
2272
|
-
:rtype: bool
|
|
2273
|
-
"""
|
|
2274
|
-
...
|
|
2275
|
-
|
|
2276
|
-
def get(self):
|
|
2277
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2278
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2279
|
-
|
|
2280
|
-
"""
|
|
2281
|
-
...
|
|
2282
|
-
|
|
2283
|
-
def id_properties_clear(self):
|
|
2284
|
-
"""
|
|
2285
|
-
|
|
2286
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2287
|
-
"""
|
|
2288
|
-
...
|
|
2289
|
-
|
|
2290
|
-
def id_properties_ensure(self):
|
|
2291
|
-
"""
|
|
2292
|
-
|
|
2293
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2294
|
-
"""
|
|
2295
|
-
...
|
|
2296
|
-
|
|
2297
|
-
def id_properties_ui(self):
|
|
2298
|
-
"""
|
|
2299
|
-
|
|
2300
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2301
|
-
"""
|
|
2302
|
-
...
|
|
2303
|
-
|
|
2304
|
-
def is_extended(self): ...
|
|
2305
|
-
def is_property_hidden(self) -> bool:
|
|
2306
|
-
"""Check if a property is hidden.
|
|
2307
|
-
|
|
2308
|
-
:return: True when the property is hidden.
|
|
2309
|
-
:rtype: bool
|
|
2310
|
-
"""
|
|
2311
|
-
...
|
|
2312
|
-
|
|
2313
|
-
def is_property_overridable_library(self) -> bool:
|
|
2314
|
-
"""Check if a property is overridable.
|
|
2315
|
-
|
|
2316
|
-
:return: True when the property is overridable.
|
|
2317
|
-
:rtype: bool
|
|
2318
|
-
"""
|
|
2319
|
-
...
|
|
2320
|
-
|
|
2321
|
-
def is_property_readonly(self) -> bool:
|
|
2322
|
-
"""Check if a property is readonly.
|
|
2323
|
-
|
|
2324
|
-
:return: True when the property is readonly (not writable).
|
|
2325
|
-
:rtype: bool
|
|
2326
|
-
"""
|
|
2327
|
-
...
|
|
2328
|
-
|
|
2329
|
-
def is_property_set(self) -> bool:
|
|
2330
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2331
|
-
|
|
2332
|
-
:return: True when the property has been set.
|
|
2333
|
-
:rtype: bool
|
|
2334
|
-
"""
|
|
2335
|
-
...
|
|
2336
|
-
|
|
2337
|
-
def items(self):
|
|
2338
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2339
|
-
dictionary function of the same name).
|
|
2340
|
-
|
|
2341
|
-
:return: custom property key, value pairs.
|
|
2342
|
-
"""
|
|
2343
|
-
...
|
|
2344
|
-
|
|
2345
|
-
def keyframe_delete(self) -> bool:
|
|
2346
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2347
|
-
|
|
2348
|
-
:return: Success of keyframe deletion.
|
|
2349
|
-
:rtype: bool
|
|
2350
|
-
"""
|
|
2351
|
-
...
|
|
2352
|
-
|
|
2353
|
-
def keyframe_insert(self) -> bool:
|
|
2354
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2355
|
-
|
|
2356
|
-
:return: Success of keyframe insertion.
|
|
2357
|
-
:rtype: bool
|
|
2358
|
-
"""
|
|
2359
|
-
...
|
|
2360
|
-
|
|
2361
|
-
def keys(self):
|
|
2362
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2363
|
-
dictionary function of the same name).
|
|
2364
|
-
|
|
2365
|
-
:return: custom property keys.
|
|
2366
|
-
"""
|
|
2367
|
-
...
|
|
2368
|
-
|
|
2369
|
-
def path_from_id(self) -> str:
|
|
2370
|
-
"""Returns the data path from the ID to this object (string).
|
|
2371
|
-
|
|
2372
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2373
|
-
to this struct and property (when given).
|
|
2374
|
-
:rtype: str
|
|
2375
|
-
"""
|
|
2376
|
-
...
|
|
2377
|
-
|
|
2378
|
-
def path_resolve(self):
|
|
2379
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2380
|
-
...
|
|
2381
|
-
|
|
2382
|
-
def poll(self, context):
|
|
2383
|
-
"""
|
|
2384
|
-
|
|
2385
|
-
:param context:
|
|
2386
|
-
"""
|
|
2387
|
-
...
|
|
2388
|
-
|
|
2389
|
-
def pop(self):
|
|
2390
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2391
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2392
|
-
|
|
2393
|
-
"""
|
|
2394
|
-
...
|
|
2395
|
-
|
|
2396
|
-
def prepend(self, draw_func):
|
|
2397
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2398
|
-
the menus draw function
|
|
2399
|
-
|
|
2400
|
-
:param draw_func:
|
|
2401
|
-
"""
|
|
2402
|
-
...
|
|
2403
|
-
|
|
2404
|
-
def property_overridable_library_set(self) -> bool:
|
|
2405
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2406
|
-
|
|
2407
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2408
|
-
:rtype: bool
|
|
2409
|
-
"""
|
|
2410
|
-
...
|
|
2411
|
-
|
|
2412
|
-
def property_unset(self):
|
|
2413
|
-
"""Unset a property, will use default value afterward."""
|
|
2414
|
-
...
|
|
2415
|
-
|
|
2416
|
-
def remove(self, draw_func):
|
|
2417
|
-
"""Remove a draw function that has been added to this menu
|
|
2418
|
-
|
|
2419
|
-
:param draw_func:
|
|
2420
|
-
"""
|
|
2421
|
-
...
|
|
2422
|
-
|
|
2423
|
-
def type_recast(self):
|
|
2424
|
-
"""Return a new instance, this is needed because types
|
|
2425
|
-
such as textures can be changed at runtime.
|
|
2426
|
-
|
|
2427
|
-
:return: a new instance of this object with the type initialized again.
|
|
2428
|
-
"""
|
|
2429
|
-
...
|
|
2430
|
-
|
|
2431
|
-
def values(self):
|
|
2432
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2433
|
-
dictionary function of the same name).
|
|
2434
|
-
|
|
2435
|
-
:return: custom property values.
|
|
2436
|
-
"""
|
|
2437
|
-
...
|
|
2438
|
-
|
|
2439
|
-
class DATA_PT_camera_stereoscopy(CameraButtonsPanel, bpy_types._GenericUI):
|
|
2440
|
-
COMPAT_ENGINES: typing.Any
|
|
2441
|
-
bl_context: typing.Any
|
|
2442
|
-
bl_label: typing.Any
|
|
2443
|
-
bl_region_type: typing.Any
|
|
2444
|
-
bl_rna: typing.Any
|
|
2445
|
-
bl_space_type: typing.Any
|
|
2446
|
-
id_data: typing.Any
|
|
2447
|
-
|
|
2448
|
-
def append(self, draw_func):
|
|
2449
|
-
"""Append a draw function to this menu,
|
|
2450
|
-
takes the same arguments as the menus draw function
|
|
2451
|
-
|
|
2452
|
-
:param draw_func:
|
|
2453
|
-
"""
|
|
2454
|
-
...
|
|
2455
|
-
|
|
2456
|
-
def as_pointer(self) -> int:
|
|
2457
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2458
|
-
|
|
2459
|
-
:return: int (memory address).
|
|
2460
|
-
:rtype: int
|
|
2461
|
-
"""
|
|
2462
|
-
...
|
|
2463
|
-
|
|
2464
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2465
|
-
"""
|
|
2466
|
-
|
|
2467
|
-
:return: The RNA type or default when not found.
|
|
2468
|
-
:rtype: bpy.types.Struct
|
|
2469
|
-
"""
|
|
2470
|
-
...
|
|
2471
|
-
|
|
2472
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2473
|
-
"""
|
|
2474
|
-
|
|
2475
|
-
:return: The class or default when not found.
|
|
2476
|
-
:rtype: typing.Any
|
|
2477
|
-
"""
|
|
2478
|
-
...
|
|
2479
|
-
|
|
2480
|
-
def draw(self, context):
|
|
2481
|
-
"""
|
|
2482
|
-
|
|
2483
|
-
:param context:
|
|
2484
|
-
"""
|
|
2485
|
-
...
|
|
2486
|
-
|
|
2487
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2488
|
-
"""Adds driver(s) to the given property
|
|
2489
|
-
|
|
2490
|
-
:return: The driver(s) added.
|
|
2491
|
-
:rtype: bpy.types.FCurve
|
|
2492
|
-
"""
|
|
2493
|
-
...
|
|
2494
|
-
|
|
2495
|
-
def driver_remove(self) -> bool:
|
|
2496
|
-
"""Remove driver(s) from the given property
|
|
2497
|
-
|
|
2498
|
-
:return: Success of driver removal.
|
|
2499
|
-
:rtype: bool
|
|
2500
|
-
"""
|
|
2501
|
-
...
|
|
2502
|
-
|
|
2503
|
-
def get(self):
|
|
2504
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2505
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2506
|
-
|
|
2507
|
-
"""
|
|
2508
|
-
...
|
|
2509
|
-
|
|
2510
|
-
def id_properties_clear(self):
|
|
2511
|
-
"""
|
|
2512
|
-
|
|
2513
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2514
|
-
"""
|
|
2515
|
-
...
|
|
2516
|
-
|
|
2517
|
-
def id_properties_ensure(self):
|
|
2518
|
-
"""
|
|
2519
|
-
|
|
2520
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2521
|
-
"""
|
|
2522
|
-
...
|
|
2523
|
-
|
|
2524
|
-
def id_properties_ui(self):
|
|
2525
|
-
"""
|
|
2526
|
-
|
|
2527
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2528
|
-
"""
|
|
2529
|
-
...
|
|
2530
|
-
|
|
2531
|
-
def is_extended(self): ...
|
|
2532
|
-
def is_property_hidden(self) -> bool:
|
|
2533
|
-
"""Check if a property is hidden.
|
|
2534
|
-
|
|
2535
|
-
:return: True when the property is hidden.
|
|
2536
|
-
:rtype: bool
|
|
2537
|
-
"""
|
|
2538
|
-
...
|
|
2539
|
-
|
|
2540
|
-
def is_property_overridable_library(self) -> bool:
|
|
2541
|
-
"""Check if a property is overridable.
|
|
2542
|
-
|
|
2543
|
-
:return: True when the property is overridable.
|
|
2544
|
-
:rtype: bool
|
|
2545
|
-
"""
|
|
2546
|
-
...
|
|
2547
|
-
|
|
2548
|
-
def is_property_readonly(self) -> bool:
|
|
2549
|
-
"""Check if a property is readonly.
|
|
2550
|
-
|
|
2551
|
-
:return: True when the property is readonly (not writable).
|
|
2552
|
-
:rtype: bool
|
|
2553
|
-
"""
|
|
2554
|
-
...
|
|
2555
|
-
|
|
2556
|
-
def is_property_set(self) -> bool:
|
|
2557
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2558
|
-
|
|
2559
|
-
:return: True when the property has been set.
|
|
2560
|
-
:rtype: bool
|
|
2561
|
-
"""
|
|
2562
|
-
...
|
|
2563
|
-
|
|
2564
|
-
def items(self):
|
|
2565
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2566
|
-
dictionary function of the same name).
|
|
2567
|
-
|
|
2568
|
-
:return: custom property key, value pairs.
|
|
2569
|
-
"""
|
|
2570
|
-
...
|
|
2571
|
-
|
|
2572
|
-
def keyframe_delete(self) -> bool:
|
|
2573
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2574
|
-
|
|
2575
|
-
:return: Success of keyframe deletion.
|
|
2576
|
-
:rtype: bool
|
|
2577
|
-
"""
|
|
2578
|
-
...
|
|
2579
|
-
|
|
2580
|
-
def keyframe_insert(self) -> bool:
|
|
2581
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2582
|
-
|
|
2583
|
-
:return: Success of keyframe insertion.
|
|
2584
|
-
:rtype: bool
|
|
2585
|
-
"""
|
|
2586
|
-
...
|
|
2587
|
-
|
|
2588
|
-
def keys(self):
|
|
2589
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2590
|
-
dictionary function of the same name).
|
|
2591
|
-
|
|
2592
|
-
:return: custom property keys.
|
|
2593
|
-
"""
|
|
2594
|
-
...
|
|
2595
|
-
|
|
2596
|
-
def path_from_id(self) -> str:
|
|
2597
|
-
"""Returns the data path from the ID to this object (string).
|
|
2598
|
-
|
|
2599
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2600
|
-
to this struct and property (when given).
|
|
2601
|
-
:rtype: str
|
|
2602
|
-
"""
|
|
2603
|
-
...
|
|
2604
|
-
|
|
2605
|
-
def path_resolve(self):
|
|
2606
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2607
|
-
...
|
|
2608
|
-
|
|
2609
|
-
@classmethod
|
|
2610
|
-
def poll(cls, context):
|
|
2611
|
-
"""
|
|
2612
|
-
|
|
2613
|
-
:param context:
|
|
2614
|
-
"""
|
|
2615
|
-
...
|
|
2616
|
-
|
|
2617
|
-
def pop(self):
|
|
2618
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2619
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2620
|
-
|
|
2621
|
-
"""
|
|
2622
|
-
...
|
|
2623
|
-
|
|
2624
|
-
def prepend(self, draw_func):
|
|
2625
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2626
|
-
the menus draw function
|
|
2627
|
-
|
|
2628
|
-
:param draw_func:
|
|
2629
|
-
"""
|
|
2630
|
-
...
|
|
2631
|
-
|
|
2632
|
-
def property_overridable_library_set(self) -> bool:
|
|
2633
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2634
|
-
|
|
2635
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2636
|
-
:rtype: bool
|
|
2637
|
-
"""
|
|
2638
|
-
...
|
|
2639
|
-
|
|
2640
|
-
def property_unset(self):
|
|
2641
|
-
"""Unset a property, will use default value afterward."""
|
|
2642
|
-
...
|
|
2643
|
-
|
|
2644
|
-
def remove(self, draw_func):
|
|
2645
|
-
"""Remove a draw function that has been added to this menu
|
|
2646
|
-
|
|
2647
|
-
:param draw_func:
|
|
2648
|
-
"""
|
|
2649
|
-
...
|
|
2650
|
-
|
|
2651
|
-
def type_recast(self):
|
|
2652
|
-
"""Return a new instance, this is needed because types
|
|
2653
|
-
such as textures can be changed at runtime.
|
|
2654
|
-
|
|
2655
|
-
:return: a new instance of this object with the type initialized again.
|
|
2656
|
-
"""
|
|
2657
|
-
...
|
|
2658
|
-
|
|
2659
|
-
def values(self):
|
|
2660
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2661
|
-
dictionary function of the same name).
|
|
2662
|
-
|
|
2663
|
-
:return: custom property values.
|
|
2664
|
-
"""
|
|
2665
|
-
...
|
|
2666
|
-
|
|
2667
|
-
class DATA_PT_context_camera(CameraButtonsPanel, bpy_types._GenericUI):
|
|
2668
|
-
COMPAT_ENGINES: typing.Any
|
|
2669
|
-
bl_context: typing.Any
|
|
2670
|
-
bl_label: typing.Any
|
|
2671
|
-
bl_options: typing.Any
|
|
2672
|
-
bl_region_type: typing.Any
|
|
2673
|
-
bl_rna: typing.Any
|
|
2674
|
-
bl_space_type: typing.Any
|
|
2675
|
-
id_data: typing.Any
|
|
2676
|
-
|
|
2677
|
-
def append(self, draw_func):
|
|
2678
|
-
"""Append a draw function to this menu,
|
|
2679
|
-
takes the same arguments as the menus draw function
|
|
2680
|
-
|
|
2681
|
-
:param draw_func:
|
|
2682
|
-
"""
|
|
2683
|
-
...
|
|
2684
|
-
|
|
2685
|
-
def as_pointer(self) -> int:
|
|
2686
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2687
|
-
|
|
2688
|
-
:return: int (memory address).
|
|
2689
|
-
:rtype: int
|
|
2690
|
-
"""
|
|
2691
|
-
...
|
|
2692
|
-
|
|
2693
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2694
|
-
"""
|
|
2695
|
-
|
|
2696
|
-
:return: The RNA type or default when not found.
|
|
2697
|
-
:rtype: bpy.types.Struct
|
|
2698
|
-
"""
|
|
2699
|
-
...
|
|
2700
|
-
|
|
2701
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2702
|
-
"""
|
|
2703
|
-
|
|
2704
|
-
:return: The class or default when not found.
|
|
2705
|
-
:rtype: typing.Any
|
|
2706
|
-
"""
|
|
2707
|
-
...
|
|
2708
|
-
|
|
2709
|
-
def draw(self, context):
|
|
2710
|
-
"""
|
|
2711
|
-
|
|
2712
|
-
:param context:
|
|
2713
|
-
"""
|
|
2714
|
-
...
|
|
2715
|
-
|
|
2716
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2717
|
-
"""Adds driver(s) to the given property
|
|
2718
|
-
|
|
2719
|
-
:return: The driver(s) added.
|
|
2720
|
-
:rtype: bpy.types.FCurve
|
|
2721
|
-
"""
|
|
2722
|
-
...
|
|
2723
|
-
|
|
2724
|
-
def driver_remove(self) -> bool:
|
|
2725
|
-
"""Remove driver(s) from the given property
|
|
2726
|
-
|
|
2727
|
-
:return: Success of driver removal.
|
|
2728
|
-
:rtype: bool
|
|
2729
|
-
"""
|
|
2730
|
-
...
|
|
2731
|
-
|
|
2732
|
-
def get(self):
|
|
2733
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2734
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2735
|
-
|
|
2736
|
-
"""
|
|
2737
|
-
...
|
|
2738
|
-
|
|
2739
|
-
def id_properties_clear(self):
|
|
2740
|
-
"""
|
|
2741
|
-
|
|
2742
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2743
|
-
"""
|
|
2744
|
-
...
|
|
2745
|
-
|
|
2746
|
-
def id_properties_ensure(self):
|
|
2747
|
-
"""
|
|
2748
|
-
|
|
2749
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2750
|
-
"""
|
|
2751
|
-
...
|
|
2752
|
-
|
|
2753
|
-
def id_properties_ui(self):
|
|
2754
|
-
"""
|
|
2755
|
-
|
|
2756
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2757
|
-
"""
|
|
2758
|
-
...
|
|
2759
|
-
|
|
2760
|
-
def is_extended(self): ...
|
|
2761
|
-
def is_property_hidden(self) -> bool:
|
|
2762
|
-
"""Check if a property is hidden.
|
|
2763
|
-
|
|
2764
|
-
:return: True when the property is hidden.
|
|
2765
|
-
:rtype: bool
|
|
2766
|
-
"""
|
|
2767
|
-
...
|
|
2768
|
-
|
|
2769
|
-
def is_property_overridable_library(self) -> bool:
|
|
2770
|
-
"""Check if a property is overridable.
|
|
2771
|
-
|
|
2772
|
-
:return: True when the property is overridable.
|
|
2773
|
-
:rtype: bool
|
|
2774
|
-
"""
|
|
2775
|
-
...
|
|
2776
|
-
|
|
2777
|
-
def is_property_readonly(self) -> bool:
|
|
2778
|
-
"""Check if a property is readonly.
|
|
2779
|
-
|
|
2780
|
-
:return: True when the property is readonly (not writable).
|
|
2781
|
-
:rtype: bool
|
|
2782
|
-
"""
|
|
2783
|
-
...
|
|
2784
|
-
|
|
2785
|
-
def is_property_set(self) -> bool:
|
|
2786
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2787
|
-
|
|
2788
|
-
:return: True when the property has been set.
|
|
2789
|
-
:rtype: bool
|
|
2790
|
-
"""
|
|
2791
|
-
...
|
|
2792
|
-
|
|
2793
|
-
def items(self):
|
|
2794
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2795
|
-
dictionary function of the same name).
|
|
2796
|
-
|
|
2797
|
-
:return: custom property key, value pairs.
|
|
2798
|
-
"""
|
|
2799
|
-
...
|
|
2800
|
-
|
|
2801
|
-
def keyframe_delete(self) -> bool:
|
|
2802
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2803
|
-
|
|
2804
|
-
:return: Success of keyframe deletion.
|
|
2805
|
-
:rtype: bool
|
|
2806
|
-
"""
|
|
2807
|
-
...
|
|
2808
|
-
|
|
2809
|
-
def keyframe_insert(self) -> bool:
|
|
2810
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2811
|
-
|
|
2812
|
-
:return: Success of keyframe insertion.
|
|
2813
|
-
:rtype: bool
|
|
2814
|
-
"""
|
|
2815
|
-
...
|
|
2816
|
-
|
|
2817
|
-
def keys(self):
|
|
2818
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2819
|
-
dictionary function of the same name).
|
|
2820
|
-
|
|
2821
|
-
:return: custom property keys.
|
|
2822
|
-
"""
|
|
2823
|
-
...
|
|
2824
|
-
|
|
2825
|
-
def path_from_id(self) -> str:
|
|
2826
|
-
"""Returns the data path from the ID to this object (string).
|
|
2827
|
-
|
|
2828
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2829
|
-
to this struct and property (when given).
|
|
2830
|
-
:rtype: str
|
|
2831
|
-
"""
|
|
2832
|
-
...
|
|
2833
|
-
|
|
2834
|
-
def path_resolve(self):
|
|
2835
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2836
|
-
...
|
|
2837
|
-
|
|
2838
|
-
def poll(self, context):
|
|
2839
|
-
"""
|
|
2840
|
-
|
|
2841
|
-
:param context:
|
|
2842
|
-
"""
|
|
2843
|
-
...
|
|
2844
|
-
|
|
2845
|
-
def pop(self):
|
|
2846
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2847
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2848
|
-
|
|
2849
|
-
"""
|
|
2850
|
-
...
|
|
2851
|
-
|
|
2852
|
-
def prepend(self, draw_func):
|
|
2853
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2854
|
-
the menus draw function
|
|
2855
|
-
|
|
2856
|
-
:param draw_func:
|
|
2857
|
-
"""
|
|
2858
|
-
...
|
|
2859
|
-
|
|
2860
|
-
def property_overridable_library_set(self) -> bool:
|
|
2861
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2862
|
-
|
|
2863
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2864
|
-
:rtype: bool
|
|
2865
|
-
"""
|
|
2866
|
-
...
|
|
2867
|
-
|
|
2868
|
-
def property_unset(self):
|
|
2869
|
-
"""Unset a property, will use default value afterward."""
|
|
94
|
+
:return: The RNA type or default when not found.
|
|
95
|
+
:rtype: bpy.types.Struct
|
|
96
|
+
"""
|
|
2870
97
|
...
|
|
2871
98
|
|
|
2872
|
-
def
|
|
2873
|
-
"""
|
|
99
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
100
|
+
"""
|
|
2874
101
|
|
|
2875
|
-
:
|
|
102
|
+
:return: The class or default when not found.
|
|
103
|
+
:rtype: typing.Any
|
|
2876
104
|
"""
|
|
2877
105
|
...
|
|
2878
106
|
|
|
2879
|
-
def
|
|
2880
|
-
"""
|
|
2881
|
-
such as textures can be changed at runtime.
|
|
107
|
+
def draw(self, context):
|
|
108
|
+
"""
|
|
2882
109
|
|
|
2883
|
-
|
|
110
|
+
:param context:
|
|
2884
111
|
"""
|
|
2885
112
|
...
|
|
2886
113
|
|
|
2887
|
-
def
|
|
2888
|
-
"""
|
|
2889
|
-
dictionary function of the same name).
|
|
114
|
+
def draw_header_preset(self, _context):
|
|
115
|
+
"""
|
|
2890
116
|
|
|
2891
|
-
|
|
117
|
+
:param _context:
|
|
2892
118
|
"""
|
|
2893
119
|
...
|
|
2894
120
|
|
|
2895
|
-
class
|
|
2896
|
-
|
|
121
|
+
class DATA_PT_camera_background_image(
|
|
122
|
+
bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI
|
|
2897
123
|
):
|
|
2898
|
-
"""The subclass should have its own poll function
|
|
2899
|
-
and the variable '_context_path' MUST be set.
|
|
2900
|
-
"""
|
|
2901
|
-
|
|
2902
124
|
COMPAT_ENGINES: typing.Any
|
|
2903
125
|
bl_context: typing.Any
|
|
2904
126
|
bl_label: typing.Any
|
|
2905
127
|
bl_options: typing.Any
|
|
2906
|
-
bl_order: typing.Any
|
|
2907
128
|
bl_region_type: typing.Any
|
|
2908
129
|
bl_rna: typing.Any
|
|
2909
130
|
bl_space_type: typing.Any
|
|
2910
131
|
id_data: typing.Any
|
|
2911
132
|
|
|
2912
|
-
def append(self, draw_func):
|
|
2913
|
-
"""Append a draw function to this menu,
|
|
2914
|
-
takes the same arguments as the menus draw function
|
|
2915
|
-
|
|
2916
|
-
:param draw_func:
|
|
2917
|
-
"""
|
|
2918
|
-
...
|
|
2919
|
-
|
|
2920
|
-
def as_pointer(self) -> int:
|
|
2921
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2922
|
-
|
|
2923
|
-
:return: int (memory address).
|
|
2924
|
-
:rtype: int
|
|
2925
|
-
"""
|
|
2926
|
-
...
|
|
2927
|
-
|
|
2928
133
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2929
134
|
"""
|
|
2930
135
|
|
|
@@ -2948,211 +153,169 @@ class DATA_PT_custom_props_camera(
|
|
|
2948
153
|
"""
|
|
2949
154
|
...
|
|
2950
155
|
|
|
2951
|
-
def
|
|
2952
|
-
"""Adds driver(s) to the given property
|
|
2953
|
-
|
|
2954
|
-
:return: The driver(s) added.
|
|
2955
|
-
:rtype: bpy.types.FCurve
|
|
156
|
+
def draw_header(self, context):
|
|
2956
157
|
"""
|
|
2957
|
-
...
|
|
2958
|
-
|
|
2959
|
-
def driver_remove(self) -> bool:
|
|
2960
|
-
"""Remove driver(s) from the given property
|
|
2961
158
|
|
|
2962
|
-
:
|
|
2963
|
-
:rtype: bool
|
|
159
|
+
:param context:
|
|
2964
160
|
"""
|
|
2965
161
|
...
|
|
2966
162
|
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
163
|
+
class DATA_PT_camera_display(bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI):
|
|
164
|
+
COMPAT_ENGINES: typing.Any
|
|
165
|
+
bl_context: typing.Any
|
|
166
|
+
bl_label: typing.Any
|
|
167
|
+
bl_options: typing.Any
|
|
168
|
+
bl_region_type: typing.Any
|
|
169
|
+
bl_rna: typing.Any
|
|
170
|
+
bl_space_type: typing.Any
|
|
171
|
+
id_data: typing.Any
|
|
2973
172
|
|
|
2974
|
-
def
|
|
173
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2975
174
|
"""
|
|
2976
175
|
|
|
2977
|
-
:return:
|
|
176
|
+
:return: The RNA type or default when not found.
|
|
177
|
+
:rtype: bpy.types.Struct
|
|
2978
178
|
"""
|
|
2979
179
|
...
|
|
2980
180
|
|
|
2981
|
-
def
|
|
181
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2982
182
|
"""
|
|
2983
183
|
|
|
2984
|
-
:return:
|
|
184
|
+
:return: The class or default when not found.
|
|
185
|
+
:rtype: typing.Any
|
|
2985
186
|
"""
|
|
2986
187
|
...
|
|
2987
188
|
|
|
2988
|
-
def
|
|
189
|
+
def draw(self, context):
|
|
2989
190
|
"""
|
|
2990
191
|
|
|
2991
|
-
:
|
|
192
|
+
:param context:
|
|
2992
193
|
"""
|
|
2993
194
|
...
|
|
2994
195
|
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
196
|
+
class DATA_PT_camera_display_composition_guides(
|
|
197
|
+
bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI
|
|
198
|
+
):
|
|
199
|
+
COMPAT_ENGINES: typing.Any
|
|
200
|
+
bl_context: typing.Any
|
|
201
|
+
bl_label: typing.Any
|
|
202
|
+
bl_options: typing.Any
|
|
203
|
+
bl_parent_id: typing.Any
|
|
204
|
+
bl_region_type: typing.Any
|
|
205
|
+
bl_rna: typing.Any
|
|
206
|
+
bl_space_type: typing.Any
|
|
207
|
+
id_data: typing.Any
|
|
2998
208
|
|
|
2999
|
-
|
|
3000
|
-
:rtype: bool
|
|
209
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3001
210
|
"""
|
|
3002
|
-
...
|
|
3003
|
-
|
|
3004
|
-
def is_property_overridable_library(self) -> bool:
|
|
3005
|
-
"""Check if a property is overridable.
|
|
3006
211
|
|
|
3007
|
-
:return:
|
|
3008
|
-
:rtype:
|
|
212
|
+
:return: The RNA type or default when not found.
|
|
213
|
+
:rtype: bpy.types.Struct
|
|
3009
214
|
"""
|
|
3010
215
|
...
|
|
3011
216
|
|
|
3012
|
-
def
|
|
3013
|
-
"""Check if a property is readonly.
|
|
3014
|
-
|
|
3015
|
-
:return: True when the property is readonly (not writable).
|
|
3016
|
-
:rtype: bool
|
|
217
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3017
218
|
"""
|
|
3018
|
-
...
|
|
3019
|
-
|
|
3020
|
-
def is_property_set(self) -> bool:
|
|
3021
|
-
"""Check if a property is set, use for testing operator properties.
|
|
3022
219
|
|
|
3023
|
-
:return:
|
|
3024
|
-
:rtype:
|
|
220
|
+
:return: The class or default when not found.
|
|
221
|
+
:rtype: typing.Any
|
|
3025
222
|
"""
|
|
3026
223
|
...
|
|
3027
224
|
|
|
3028
|
-
def
|
|
3029
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
3030
|
-
dictionary function of the same name).
|
|
3031
|
-
|
|
3032
|
-
:return: custom property key, value pairs.
|
|
225
|
+
def draw(self, context):
|
|
3033
226
|
"""
|
|
3034
|
-
...
|
|
3035
|
-
|
|
3036
|
-
def keyframe_delete(self) -> bool:
|
|
3037
|
-
"""Remove a keyframe from this properties fcurve.
|
|
3038
227
|
|
|
3039
|
-
:
|
|
3040
|
-
:rtype: bool
|
|
228
|
+
:param context:
|
|
3041
229
|
"""
|
|
3042
230
|
...
|
|
3043
231
|
|
|
3044
|
-
|
|
3045
|
-
|
|
232
|
+
class DATA_PT_camera_dof(bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI):
|
|
233
|
+
COMPAT_ENGINES: typing.Any
|
|
234
|
+
bl_context: typing.Any
|
|
235
|
+
bl_label: typing.Any
|
|
236
|
+
bl_options: typing.Any
|
|
237
|
+
bl_region_type: typing.Any
|
|
238
|
+
bl_rna: typing.Any
|
|
239
|
+
bl_space_type: typing.Any
|
|
240
|
+
id_data: typing.Any
|
|
3046
241
|
|
|
3047
|
-
|
|
3048
|
-
:rtype: bool
|
|
242
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3049
243
|
"""
|
|
3050
|
-
...
|
|
3051
|
-
|
|
3052
|
-
def keys(self):
|
|
3053
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
3054
|
-
dictionary function of the same name).
|
|
3055
244
|
|
|
3056
|
-
|
|
245
|
+
:return: The RNA type or default when not found.
|
|
246
|
+
:rtype: bpy.types.Struct
|
|
3057
247
|
"""
|
|
3058
248
|
...
|
|
3059
249
|
|
|
3060
|
-
def
|
|
3061
|
-
"""Returns the data path from the ID to this object (string).
|
|
3062
|
-
|
|
3063
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
3064
|
-
to this struct and property (when given).
|
|
3065
|
-
:rtype: str
|
|
250
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3066
251
|
"""
|
|
3067
|
-
...
|
|
3068
252
|
|
|
3069
|
-
|
|
3070
|
-
|
|
253
|
+
:return: The class or default when not found.
|
|
254
|
+
:rtype: typing.Any
|
|
255
|
+
"""
|
|
3071
256
|
...
|
|
3072
257
|
|
|
3073
|
-
def
|
|
258
|
+
def draw(self, context):
|
|
3074
259
|
"""
|
|
3075
260
|
|
|
3076
261
|
:param context:
|
|
3077
262
|
"""
|
|
3078
263
|
...
|
|
3079
264
|
|
|
3080
|
-
def
|
|
3081
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
3082
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3083
|
-
|
|
265
|
+
def draw_header(self, context):
|
|
3084
266
|
"""
|
|
3085
|
-
...
|
|
3086
267
|
|
|
3087
|
-
|
|
3088
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
3089
|
-
the menus draw function
|
|
3090
|
-
|
|
3091
|
-
:param draw_func:
|
|
268
|
+
:param context:
|
|
3092
269
|
"""
|
|
3093
270
|
...
|
|
3094
271
|
|
|
3095
|
-
|
|
3096
|
-
|
|
272
|
+
class DATA_PT_camera_dof_aperture(
|
|
273
|
+
bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI
|
|
274
|
+
):
|
|
275
|
+
COMPAT_ENGINES: typing.Any
|
|
276
|
+
bl_context: typing.Any
|
|
277
|
+
bl_label: typing.Any
|
|
278
|
+
bl_parent_id: typing.Any
|
|
279
|
+
bl_region_type: typing.Any
|
|
280
|
+
bl_rna: typing.Any
|
|
281
|
+
bl_space_type: typing.Any
|
|
282
|
+
id_data: typing.Any
|
|
3097
283
|
|
|
3098
|
-
|
|
3099
|
-
:rtype: bool
|
|
284
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3100
285
|
"""
|
|
3101
|
-
...
|
|
3102
|
-
|
|
3103
|
-
def property_unset(self):
|
|
3104
|
-
"""Unset a property, will use default value afterward."""
|
|
3105
|
-
...
|
|
3106
|
-
|
|
3107
|
-
def remove(self, draw_func):
|
|
3108
|
-
"""Remove a draw function that has been added to this menu
|
|
3109
286
|
|
|
3110
|
-
:
|
|
287
|
+
:return: The RNA type or default when not found.
|
|
288
|
+
:rtype: bpy.types.Struct
|
|
3111
289
|
"""
|
|
3112
290
|
...
|
|
3113
291
|
|
|
3114
|
-
def
|
|
3115
|
-
"""
|
|
3116
|
-
such as textures can be changed at runtime.
|
|
292
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
293
|
+
"""
|
|
3117
294
|
|
|
3118
|
-
|
|
295
|
+
:return: The class or default when not found.
|
|
296
|
+
:rtype: typing.Any
|
|
3119
297
|
"""
|
|
3120
298
|
...
|
|
3121
299
|
|
|
3122
|
-
def
|
|
3123
|
-
"""
|
|
3124
|
-
dictionary function of the same name).
|
|
300
|
+
def draw(self, context):
|
|
301
|
+
"""
|
|
3125
302
|
|
|
3126
|
-
|
|
303
|
+
:param context:
|
|
3127
304
|
"""
|
|
3128
305
|
...
|
|
3129
306
|
|
|
3130
|
-
class
|
|
307
|
+
class DATA_PT_camera_safe_areas(
|
|
308
|
+
bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI
|
|
309
|
+
):
|
|
3131
310
|
COMPAT_ENGINES: typing.Any
|
|
3132
311
|
bl_context: typing.Any
|
|
3133
312
|
bl_label: typing.Any
|
|
313
|
+
bl_options: typing.Any
|
|
3134
314
|
bl_region_type: typing.Any
|
|
3135
315
|
bl_rna: typing.Any
|
|
3136
316
|
bl_space_type: typing.Any
|
|
3137
|
-
bl_translation_context: typing.Any
|
|
3138
317
|
id_data: typing.Any
|
|
3139
318
|
|
|
3140
|
-
def append(self, draw_func):
|
|
3141
|
-
"""Append a draw function to this menu,
|
|
3142
|
-
takes the same arguments as the menus draw function
|
|
3143
|
-
|
|
3144
|
-
:param draw_func:
|
|
3145
|
-
"""
|
|
3146
|
-
...
|
|
3147
|
-
|
|
3148
|
-
def as_pointer(self) -> int:
|
|
3149
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
3150
|
-
|
|
3151
|
-
:return: int (memory address).
|
|
3152
|
-
:rtype: int
|
|
3153
|
-
"""
|
|
3154
|
-
...
|
|
3155
|
-
|
|
3156
319
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3157
320
|
"""
|
|
3158
321
|
|
|
@@ -3176,182 +339,201 @@ class DATA_PT_lens(CameraButtonsPanel, bpy_types._GenericUI):
|
|
|
3176
339
|
"""
|
|
3177
340
|
...
|
|
3178
341
|
|
|
3179
|
-
def
|
|
3180
|
-
"""Adds driver(s) to the given property
|
|
3181
|
-
|
|
3182
|
-
:return: The driver(s) added.
|
|
3183
|
-
:rtype: bpy.types.FCurve
|
|
342
|
+
def draw_header(self, context):
|
|
3184
343
|
"""
|
|
3185
|
-
...
|
|
3186
|
-
|
|
3187
|
-
def driver_remove(self) -> bool:
|
|
3188
|
-
"""Remove driver(s) from the given property
|
|
3189
344
|
|
|
3190
|
-
:
|
|
3191
|
-
:rtype: bool
|
|
345
|
+
:param context:
|
|
3192
346
|
"""
|
|
3193
347
|
...
|
|
3194
348
|
|
|
3195
|
-
def
|
|
3196
|
-
"""
|
|
3197
|
-
when not found (matches Python's dictionary function of the same name).
|
|
349
|
+
def draw_header_preset(self, _context):
|
|
350
|
+
"""
|
|
3198
351
|
|
|
352
|
+
:param _context:
|
|
3199
353
|
"""
|
|
3200
354
|
...
|
|
3201
355
|
|
|
3202
|
-
|
|
356
|
+
class DATA_PT_camera_safe_areas_center_cut(
|
|
357
|
+
bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI
|
|
358
|
+
):
|
|
359
|
+
COMPAT_ENGINES: typing.Any
|
|
360
|
+
bl_context: typing.Any
|
|
361
|
+
bl_label: typing.Any
|
|
362
|
+
bl_options: typing.Any
|
|
363
|
+
bl_parent_id: typing.Any
|
|
364
|
+
bl_region_type: typing.Any
|
|
365
|
+
bl_rna: typing.Any
|
|
366
|
+
bl_space_type: typing.Any
|
|
367
|
+
id_data: typing.Any
|
|
368
|
+
|
|
369
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3203
370
|
"""
|
|
3204
371
|
|
|
3205
|
-
:return:
|
|
372
|
+
:return: The RNA type or default when not found.
|
|
373
|
+
:rtype: bpy.types.Struct
|
|
3206
374
|
"""
|
|
3207
375
|
...
|
|
3208
376
|
|
|
3209
|
-
def
|
|
377
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3210
378
|
"""
|
|
3211
379
|
|
|
3212
|
-
:return:
|
|
380
|
+
:return: The class or default when not found.
|
|
381
|
+
:rtype: typing.Any
|
|
3213
382
|
"""
|
|
3214
383
|
...
|
|
3215
384
|
|
|
3216
|
-
def
|
|
385
|
+
def draw(self, context):
|
|
3217
386
|
"""
|
|
3218
387
|
|
|
3219
|
-
:
|
|
388
|
+
:param context:
|
|
3220
389
|
"""
|
|
3221
390
|
...
|
|
3222
391
|
|
|
3223
|
-
def
|
|
3224
|
-
|
|
3225
|
-
"""Check if a property is hidden.
|
|
392
|
+
def draw_header(self, context):
|
|
393
|
+
"""
|
|
3226
394
|
|
|
3227
|
-
:
|
|
3228
|
-
:rtype: bool
|
|
395
|
+
:param context:
|
|
3229
396
|
"""
|
|
3230
397
|
...
|
|
3231
398
|
|
|
3232
|
-
|
|
3233
|
-
|
|
399
|
+
class DATA_PT_camera_stereoscopy(
|
|
400
|
+
bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI
|
|
401
|
+
):
|
|
402
|
+
COMPAT_ENGINES: typing.Any
|
|
403
|
+
bl_context: typing.Any
|
|
404
|
+
bl_label: typing.Any
|
|
405
|
+
bl_region_type: typing.Any
|
|
406
|
+
bl_rna: typing.Any
|
|
407
|
+
bl_space_type: typing.Any
|
|
408
|
+
id_data: typing.Any
|
|
3234
409
|
|
|
3235
|
-
|
|
3236
|
-
:rtype: bool
|
|
410
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3237
411
|
"""
|
|
3238
|
-
...
|
|
3239
412
|
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
:return: True when the property is readonly (not writable).
|
|
3244
|
-
:rtype: bool
|
|
413
|
+
:return: The RNA type or default when not found.
|
|
414
|
+
:rtype: bpy.types.Struct
|
|
3245
415
|
"""
|
|
3246
416
|
...
|
|
3247
417
|
|
|
3248
|
-
def
|
|
3249
|
-
"""
|
|
418
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
419
|
+
"""
|
|
3250
420
|
|
|
3251
|
-
:return:
|
|
3252
|
-
:rtype:
|
|
421
|
+
:return: The class or default when not found.
|
|
422
|
+
:rtype: typing.Any
|
|
3253
423
|
"""
|
|
3254
424
|
...
|
|
3255
425
|
|
|
3256
|
-
def
|
|
3257
|
-
"""
|
|
3258
|
-
dictionary function of the same name).
|
|
426
|
+
def draw(self, context):
|
|
427
|
+
"""
|
|
3259
428
|
|
|
3260
|
-
|
|
429
|
+
:param context:
|
|
3261
430
|
"""
|
|
3262
431
|
...
|
|
3263
432
|
|
|
3264
|
-
|
|
3265
|
-
|
|
433
|
+
@classmethod
|
|
434
|
+
def poll(cls, context):
|
|
435
|
+
"""
|
|
3266
436
|
|
|
3267
|
-
:
|
|
3268
|
-
:rtype: bool
|
|
437
|
+
:param context:
|
|
3269
438
|
"""
|
|
3270
439
|
...
|
|
3271
440
|
|
|
3272
|
-
|
|
3273
|
-
|
|
441
|
+
class DATA_PT_context_camera(bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI):
|
|
442
|
+
COMPAT_ENGINES: typing.Any
|
|
443
|
+
bl_context: typing.Any
|
|
444
|
+
bl_label: typing.Any
|
|
445
|
+
bl_options: typing.Any
|
|
446
|
+
bl_region_type: typing.Any
|
|
447
|
+
bl_rna: typing.Any
|
|
448
|
+
bl_space_type: typing.Any
|
|
449
|
+
id_data: typing.Any
|
|
3274
450
|
|
|
3275
|
-
|
|
3276
|
-
:rtype: bool
|
|
451
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3277
452
|
"""
|
|
3278
|
-
...
|
|
3279
453
|
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
dictionary function of the same name).
|
|
3283
|
-
|
|
3284
|
-
:return: custom property keys.
|
|
454
|
+
:return: The RNA type or default when not found.
|
|
455
|
+
:rtype: bpy.types.Struct
|
|
3285
456
|
"""
|
|
3286
457
|
...
|
|
3287
458
|
|
|
3288
|
-
def
|
|
3289
|
-
"""Returns the data path from the ID to this object (string).
|
|
3290
|
-
|
|
3291
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
3292
|
-
to this struct and property (when given).
|
|
3293
|
-
:rtype: str
|
|
459
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3294
460
|
"""
|
|
3295
|
-
...
|
|
3296
461
|
|
|
3297
|
-
|
|
3298
|
-
|
|
462
|
+
:return: The class or default when not found.
|
|
463
|
+
:rtype: typing.Any
|
|
464
|
+
"""
|
|
3299
465
|
...
|
|
3300
466
|
|
|
3301
|
-
def
|
|
467
|
+
def draw(self, context):
|
|
3302
468
|
"""
|
|
3303
469
|
|
|
3304
470
|
:param context:
|
|
3305
471
|
"""
|
|
3306
472
|
...
|
|
3307
473
|
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
474
|
+
class DATA_PT_custom_props_camera(
|
|
475
|
+
bpy.types.Panel, CameraButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
476
|
+
):
|
|
477
|
+
"""The subclass should have its own poll function
|
|
478
|
+
and the variable '_context_path' MUST be set.
|
|
479
|
+
"""
|
|
3311
480
|
|
|
3312
|
-
|
|
3313
|
-
|
|
481
|
+
COMPAT_ENGINES: typing.Any
|
|
482
|
+
bl_context: typing.Any
|
|
483
|
+
bl_label: typing.Any
|
|
484
|
+
bl_options: typing.Any
|
|
485
|
+
bl_order: typing.Any
|
|
486
|
+
bl_region_type: typing.Any
|
|
487
|
+
bl_rna: typing.Any
|
|
488
|
+
bl_space_type: typing.Any
|
|
489
|
+
id_data: typing.Any
|
|
3314
490
|
|
|
3315
|
-
def
|
|
3316
|
-
"""
|
|
3317
|
-
the menus draw function
|
|
491
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
492
|
+
"""
|
|
3318
493
|
|
|
3319
|
-
|
|
494
|
+
:return: The RNA type or default when not found.
|
|
495
|
+
:rtype: bpy.types.Struct
|
|
3320
496
|
"""
|
|
3321
497
|
...
|
|
3322
498
|
|
|
3323
|
-
def
|
|
3324
|
-
"""
|
|
499
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
500
|
+
"""
|
|
3325
501
|
|
|
3326
|
-
:return:
|
|
3327
|
-
:rtype:
|
|
502
|
+
:return: The class or default when not found.
|
|
503
|
+
:rtype: typing.Any
|
|
3328
504
|
"""
|
|
3329
505
|
...
|
|
3330
506
|
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
507
|
+
class DATA_PT_lens(bpy.types.Panel, CameraButtonsPanel, bpy_types._GenericUI):
|
|
508
|
+
COMPAT_ENGINES: typing.Any
|
|
509
|
+
bl_context: typing.Any
|
|
510
|
+
bl_label: typing.Any
|
|
511
|
+
bl_region_type: typing.Any
|
|
512
|
+
bl_rna: typing.Any
|
|
513
|
+
bl_space_type: typing.Any
|
|
514
|
+
bl_translation_context: typing.Any
|
|
515
|
+
id_data: typing.Any
|
|
3334
516
|
|
|
3335
|
-
def
|
|
3336
|
-
"""
|
|
517
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
518
|
+
"""
|
|
3337
519
|
|
|
3338
|
-
:
|
|
520
|
+
:return: The RNA type or default when not found.
|
|
521
|
+
:rtype: bpy.types.Struct
|
|
3339
522
|
"""
|
|
3340
523
|
...
|
|
3341
524
|
|
|
3342
|
-
def
|
|
3343
|
-
"""
|
|
3344
|
-
such as textures can be changed at runtime.
|
|
525
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
526
|
+
"""
|
|
3345
527
|
|
|
3346
|
-
|
|
528
|
+
:return: The class or default when not found.
|
|
529
|
+
:rtype: typing.Any
|
|
3347
530
|
"""
|
|
3348
531
|
...
|
|
3349
532
|
|
|
3350
|
-
def
|
|
3351
|
-
"""
|
|
3352
|
-
dictionary function of the same name).
|
|
533
|
+
def draw(self, context):
|
|
534
|
+
"""
|
|
3353
535
|
|
|
3354
|
-
|
|
536
|
+
:param context:
|
|
3355
537
|
"""
|
|
3356
538
|
...
|
|
3357
539
|
|