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