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