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 rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class BONE_PT_collections(BoneButtonsPanel, bpy_types._GenericUI):
|
|
11
|
+
class BONE_PT_collections(bpy.types.Panel, BoneButtonsPanel, bpy_types._GenericUI):
|
|
12
12
|
bl_context: typing.Any
|
|
13
13
|
bl_label: typing.Any
|
|
14
14
|
bl_parent_id: typing.Any
|
|
@@ -17,22 +17,6 @@ class BONE_PT_collections(BoneButtonsPanel, bpy_types._GenericUI):
|
|
|
17
17
|
bl_space_type: typing.Any
|
|
18
18
|
id_data: typing.Any
|
|
19
19
|
|
|
20
|
-
def append(self, draw_func):
|
|
21
|
-
"""Append a draw function to this menu,
|
|
22
|
-
takes the same arguments as the menus draw function
|
|
23
|
-
|
|
24
|
-
:param draw_func:
|
|
25
|
-
"""
|
|
26
|
-
...
|
|
27
|
-
|
|
28
|
-
def as_pointer(self) -> int:
|
|
29
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
30
|
-
|
|
31
|
-
:return: int (memory address).
|
|
32
|
-
:rtype: int
|
|
33
|
-
"""
|
|
34
|
-
...
|
|
35
|
-
|
|
36
20
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
37
21
|
"""
|
|
38
22
|
|
|
@@ -56,187 +40,119 @@ class BONE_PT_collections(BoneButtonsPanel, bpy_types._GenericUI):
|
|
|
56
40
|
"""
|
|
57
41
|
...
|
|
58
42
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
:return: The driver(s) added.
|
|
63
|
-
:rtype: bpy.types.FCurve
|
|
64
|
-
"""
|
|
65
|
-
...
|
|
66
|
-
|
|
67
|
-
def driver_remove(self) -> bool:
|
|
68
|
-
"""Remove driver(s) from the given property
|
|
69
|
-
|
|
70
|
-
:return: Success of driver removal.
|
|
71
|
-
:rtype: bool
|
|
72
|
-
"""
|
|
73
|
-
...
|
|
74
|
-
|
|
75
|
-
def get(self):
|
|
76
|
-
"""Returns the value of the custom property assigned to key or default
|
|
77
|
-
when not found (matches Python's dictionary function of the same name).
|
|
78
|
-
|
|
79
|
-
"""
|
|
80
|
-
...
|
|
81
|
-
|
|
82
|
-
def id_properties_clear(self):
|
|
83
|
-
"""
|
|
84
|
-
|
|
85
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
86
|
-
"""
|
|
87
|
-
...
|
|
88
|
-
|
|
89
|
-
def id_properties_ensure(self):
|
|
43
|
+
@classmethod
|
|
44
|
+
def poll(cls, context):
|
|
90
45
|
"""
|
|
91
46
|
|
|
92
|
-
:
|
|
47
|
+
:param context:
|
|
93
48
|
"""
|
|
94
49
|
...
|
|
95
50
|
|
|
96
|
-
|
|
97
|
-
|
|
51
|
+
class BONE_PT_context_bone(bpy.types.Panel, BoneButtonsPanel, bpy_types._GenericUI):
|
|
52
|
+
bl_context: typing.Any
|
|
53
|
+
bl_label: typing.Any
|
|
54
|
+
bl_options: typing.Any
|
|
55
|
+
bl_region_type: typing.Any
|
|
56
|
+
bl_rna: typing.Any
|
|
57
|
+
bl_space_type: typing.Any
|
|
58
|
+
id_data: typing.Any
|
|
98
59
|
|
|
99
|
-
|
|
60
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
100
61
|
"""
|
|
101
|
-
...
|
|
102
62
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"""Check if a property is hidden.
|
|
106
|
-
|
|
107
|
-
:return: True when the property is hidden.
|
|
108
|
-
:rtype: bool
|
|
63
|
+
:return: The RNA type or default when not found.
|
|
64
|
+
:rtype: bpy.types.Struct
|
|
109
65
|
"""
|
|
110
66
|
...
|
|
111
67
|
|
|
112
|
-
def
|
|
113
|
-
"""Check if a property is overridable.
|
|
114
|
-
|
|
115
|
-
:return: True when the property is overridable.
|
|
116
|
-
:rtype: bool
|
|
68
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
117
69
|
"""
|
|
118
|
-
...
|
|
119
70
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
:return: True when the property is readonly (not writable).
|
|
124
|
-
:rtype: bool
|
|
71
|
+
:return: The class or default when not found.
|
|
72
|
+
:rtype: typing.Any
|
|
125
73
|
"""
|
|
126
74
|
...
|
|
127
75
|
|
|
128
|
-
def
|
|
129
|
-
"""Check if a property is set, use for testing operator properties.
|
|
130
|
-
|
|
131
|
-
:return: True when the property has been set.
|
|
132
|
-
:rtype: bool
|
|
76
|
+
def draw(self, context):
|
|
133
77
|
"""
|
|
134
|
-
...
|
|
135
78
|
|
|
136
|
-
|
|
137
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
138
|
-
dictionary function of the same name).
|
|
139
|
-
|
|
140
|
-
:return: custom property key, value pairs.
|
|
79
|
+
:param context:
|
|
141
80
|
"""
|
|
142
81
|
...
|
|
143
82
|
|
|
144
|
-
|
|
145
|
-
|
|
83
|
+
class BONE_PT_curved(bpy.types.Panel, BoneButtonsPanel, bpy_types._GenericUI):
|
|
84
|
+
bl_context: typing.Any
|
|
85
|
+
bl_label: typing.Any
|
|
86
|
+
bl_options: typing.Any
|
|
87
|
+
bl_region_type: typing.Any
|
|
88
|
+
bl_rna: typing.Any
|
|
89
|
+
bl_space_type: typing.Any
|
|
90
|
+
id_data: typing.Any
|
|
146
91
|
|
|
147
|
-
|
|
148
|
-
:rtype: bool
|
|
92
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
149
93
|
"""
|
|
150
|
-
...
|
|
151
|
-
|
|
152
|
-
def keyframe_insert(self) -> bool:
|
|
153
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
154
94
|
|
|
155
|
-
:return:
|
|
156
|
-
:rtype:
|
|
95
|
+
:return: The RNA type or default when not found.
|
|
96
|
+
:rtype: bpy.types.Struct
|
|
157
97
|
"""
|
|
158
98
|
...
|
|
159
99
|
|
|
160
|
-
def
|
|
161
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
162
|
-
dictionary function of the same name).
|
|
163
|
-
|
|
164
|
-
:return: custom property keys.
|
|
100
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
165
101
|
"""
|
|
166
|
-
...
|
|
167
|
-
|
|
168
|
-
def path_from_id(self) -> str:
|
|
169
|
-
"""Returns the data path from the ID to this object (string).
|
|
170
102
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
:rtype: str
|
|
103
|
+
:return: The class or default when not found.
|
|
104
|
+
:rtype: typing.Any
|
|
174
105
|
"""
|
|
175
106
|
...
|
|
176
107
|
|
|
177
|
-
def
|
|
178
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
179
|
-
...
|
|
180
|
-
|
|
181
|
-
@classmethod
|
|
182
|
-
def poll(cls, context):
|
|
108
|
+
def draw(self, context):
|
|
183
109
|
"""
|
|
184
110
|
|
|
185
111
|
:param context:
|
|
186
112
|
"""
|
|
187
113
|
...
|
|
188
114
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
115
|
+
class BONE_PT_custom_props(
|
|
116
|
+
bpy.types.Panel, BoneButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
117
|
+
):
|
|
118
|
+
"""The subclass should have its own poll function
|
|
119
|
+
and the variable '_context_path' MUST be set.
|
|
120
|
+
"""
|
|
195
121
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
122
|
+
COMPAT_ENGINES: typing.Any
|
|
123
|
+
bl_context: typing.Any
|
|
124
|
+
bl_label: typing.Any
|
|
125
|
+
bl_options: typing.Any
|
|
126
|
+
bl_order: typing.Any
|
|
127
|
+
bl_region_type: typing.Any
|
|
128
|
+
bl_rna: typing.Any
|
|
129
|
+
bl_space_type: typing.Any
|
|
130
|
+
id_data: typing.Any
|
|
199
131
|
|
|
200
|
-
|
|
132
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
201
133
|
"""
|
|
202
|
-
...
|
|
203
134
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
:return: True when the overridable status of the property was successfully set.
|
|
208
|
-
:rtype: bool
|
|
135
|
+
:return: The RNA type or default when not found.
|
|
136
|
+
:rtype: bpy.types.Struct
|
|
209
137
|
"""
|
|
210
138
|
...
|
|
211
139
|
|
|
212
|
-
def
|
|
213
|
-
"""Unset a property, will use default value afterward."""
|
|
214
|
-
...
|
|
215
|
-
|
|
216
|
-
def remove(self, draw_func):
|
|
217
|
-
"""Remove a draw function that has been added to this menu
|
|
218
|
-
|
|
219
|
-
:param draw_func:
|
|
140
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
220
141
|
"""
|
|
221
|
-
...
|
|
222
142
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
such as textures can be changed at runtime.
|
|
226
|
-
|
|
227
|
-
:return: a new instance of this object with the type initialized again.
|
|
143
|
+
:return: The class or default when not found.
|
|
144
|
+
:rtype: typing.Any
|
|
228
145
|
"""
|
|
229
146
|
...
|
|
230
147
|
|
|
231
|
-
def
|
|
232
|
-
"""
|
|
233
|
-
dictionary function of the same name).
|
|
148
|
+
def draw(self, context):
|
|
149
|
+
"""
|
|
234
150
|
|
|
235
|
-
|
|
151
|
+
:param context:
|
|
236
152
|
"""
|
|
237
153
|
...
|
|
238
154
|
|
|
239
|
-
class
|
|
155
|
+
class BONE_PT_deform(bpy.types.Panel, BoneButtonsPanel, bpy_types._GenericUI):
|
|
240
156
|
bl_context: typing.Any
|
|
241
157
|
bl_label: typing.Any
|
|
242
158
|
bl_options: typing.Any
|
|
@@ -245,22 +161,6 @@ class BONE_PT_context_bone(BoneButtonsPanel, bpy_types._GenericUI):
|
|
|
245
161
|
bl_space_type: typing.Any
|
|
246
162
|
id_data: typing.Any
|
|
247
163
|
|
|
248
|
-
def append(self, draw_func):
|
|
249
|
-
"""Append a draw function to this menu,
|
|
250
|
-
takes the same arguments as the menus draw function
|
|
251
|
-
|
|
252
|
-
:param draw_func:
|
|
253
|
-
"""
|
|
254
|
-
...
|
|
255
|
-
|
|
256
|
-
def as_pointer(self) -> int:
|
|
257
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
258
|
-
|
|
259
|
-
:return: int (memory address).
|
|
260
|
-
:rtype: int
|
|
261
|
-
"""
|
|
262
|
-
...
|
|
263
|
-
|
|
264
164
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
265
165
|
"""
|
|
266
166
|
|
|
@@ -284,186 +184,122 @@ class BONE_PT_context_bone(BoneButtonsPanel, bpy_types._GenericUI):
|
|
|
284
184
|
"""
|
|
285
185
|
...
|
|
286
186
|
|
|
287
|
-
def
|
|
288
|
-
"""Adds driver(s) to the given property
|
|
289
|
-
|
|
290
|
-
:return: The driver(s) added.
|
|
291
|
-
:rtype: bpy.types.FCurve
|
|
187
|
+
def draw_header(self, context):
|
|
292
188
|
"""
|
|
293
|
-
...
|
|
294
|
-
|
|
295
|
-
def driver_remove(self) -> bool:
|
|
296
|
-
"""Remove driver(s) from the given property
|
|
297
189
|
|
|
298
|
-
:
|
|
299
|
-
:rtype: bool
|
|
190
|
+
:param context:
|
|
300
191
|
"""
|
|
301
192
|
...
|
|
302
193
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
194
|
+
class BONE_PT_display(bpy.types.Panel, BoneButtonsPanel, bpy_types._GenericUI):
|
|
195
|
+
bl_context: typing.Any
|
|
196
|
+
bl_label: typing.Any
|
|
197
|
+
bl_options: typing.Any
|
|
198
|
+
bl_region_type: typing.Any
|
|
199
|
+
bl_rna: typing.Any
|
|
200
|
+
bl_space_type: typing.Any
|
|
201
|
+
id_data: typing.Any
|
|
309
202
|
|
|
310
|
-
def
|
|
203
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
311
204
|
"""
|
|
312
205
|
|
|
313
|
-
:return:
|
|
206
|
+
:return: The RNA type or default when not found.
|
|
207
|
+
:rtype: bpy.types.Struct
|
|
314
208
|
"""
|
|
315
209
|
...
|
|
316
210
|
|
|
317
|
-
def
|
|
211
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
318
212
|
"""
|
|
319
213
|
|
|
320
|
-
:return:
|
|
214
|
+
:return: The class or default when not found.
|
|
215
|
+
:rtype: typing.Any
|
|
321
216
|
"""
|
|
322
217
|
...
|
|
323
218
|
|
|
324
|
-
def
|
|
325
|
-
"""
|
|
326
|
-
|
|
327
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
219
|
+
def draw(self, context):
|
|
328
220
|
"""
|
|
329
|
-
...
|
|
330
|
-
|
|
331
|
-
def is_extended(self): ...
|
|
332
|
-
def is_property_hidden(self) -> bool:
|
|
333
|
-
"""Check if a property is hidden.
|
|
334
221
|
|
|
335
|
-
:
|
|
336
|
-
:rtype: bool
|
|
222
|
+
:param context:
|
|
337
223
|
"""
|
|
338
224
|
...
|
|
339
225
|
|
|
340
|
-
def
|
|
341
|
-
"""Check if a property is overridable.
|
|
342
|
-
|
|
343
|
-
:return: True when the property is overridable.
|
|
344
|
-
:rtype: bool
|
|
226
|
+
def draw_bone(self, context, layout):
|
|
345
227
|
"""
|
|
346
|
-
...
|
|
347
228
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
:return: True when the property is readonly (not writable).
|
|
352
|
-
:rtype: bool
|
|
229
|
+
:param context:
|
|
230
|
+
:param layout:
|
|
353
231
|
"""
|
|
354
232
|
...
|
|
355
233
|
|
|
356
|
-
def
|
|
357
|
-
"""Check if a property is set, use for testing operator properties.
|
|
358
|
-
|
|
359
|
-
:return: True when the property has been set.
|
|
360
|
-
:rtype: bool
|
|
234
|
+
def draw_bone_color_ui(self, layout, bone_color):
|
|
361
235
|
"""
|
|
362
|
-
...
|
|
363
236
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
dictionary function of the same name).
|
|
367
|
-
|
|
368
|
-
:return: custom property key, value pairs.
|
|
237
|
+
:param layout:
|
|
238
|
+
:param bone_color:
|
|
369
239
|
"""
|
|
370
240
|
...
|
|
371
241
|
|
|
372
|
-
def
|
|
373
|
-
"""Remove a keyframe from this properties fcurve.
|
|
374
|
-
|
|
375
|
-
:return: Success of keyframe deletion.
|
|
376
|
-
:rtype: bool
|
|
242
|
+
def draw_edit_bone(self, context, layout):
|
|
377
243
|
"""
|
|
378
|
-
...
|
|
379
244
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
:return: Success of keyframe insertion.
|
|
384
|
-
:rtype: bool
|
|
245
|
+
:param context:
|
|
246
|
+
:param layout:
|
|
385
247
|
"""
|
|
386
248
|
...
|
|
387
249
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
dictionary function of the same name).
|
|
391
|
-
|
|
392
|
-
:return: custom property keys.
|
|
250
|
+
@classmethod
|
|
251
|
+
def poll(cls, context):
|
|
393
252
|
"""
|
|
394
|
-
...
|
|
395
|
-
|
|
396
|
-
def path_from_id(self) -> str:
|
|
397
|
-
"""Returns the data path from the ID to this object (string).
|
|
398
253
|
|
|
399
|
-
|
|
400
|
-
to this struct and property (when given).
|
|
401
|
-
:rtype: str
|
|
254
|
+
:param context:
|
|
402
255
|
"""
|
|
403
256
|
...
|
|
404
257
|
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
258
|
+
class BONE_PT_display_custom_shape(
|
|
259
|
+
bpy.types.Panel, BoneButtonsPanel, bpy_types._GenericUI
|
|
260
|
+
):
|
|
261
|
+
bl_context: typing.Any
|
|
262
|
+
bl_label: typing.Any
|
|
263
|
+
bl_parent_id: typing.Any
|
|
264
|
+
bl_region_type: typing.Any
|
|
265
|
+
bl_rna: typing.Any
|
|
266
|
+
bl_space_type: typing.Any
|
|
267
|
+
id_data: typing.Any
|
|
408
268
|
|
|
409
|
-
def
|
|
269
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
410
270
|
"""
|
|
411
271
|
|
|
412
|
-
:
|
|
272
|
+
:return: The RNA type or default when not found.
|
|
273
|
+
:rtype: bpy.types.Struct
|
|
413
274
|
"""
|
|
414
275
|
...
|
|
415
276
|
|
|
416
|
-
def
|
|
417
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
418
|
-
when not found (matches Python's dictionary function of the same name).
|
|
419
|
-
|
|
277
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
420
278
|
"""
|
|
421
|
-
...
|
|
422
|
-
|
|
423
|
-
def prepend(self, draw_func):
|
|
424
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
425
|
-
the menus draw function
|
|
426
279
|
|
|
427
|
-
|
|
280
|
+
:return: The class or default when not found.
|
|
281
|
+
:rtype: typing.Any
|
|
428
282
|
"""
|
|
429
283
|
...
|
|
430
284
|
|
|
431
|
-
def
|
|
432
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
433
|
-
|
|
434
|
-
:return: True when the overridable status of the property was successfully set.
|
|
435
|
-
:rtype: bool
|
|
285
|
+
def draw(self, context):
|
|
436
286
|
"""
|
|
437
|
-
...
|
|
438
|
-
|
|
439
|
-
def property_unset(self):
|
|
440
|
-
"""Unset a property, will use default value afterward."""
|
|
441
|
-
...
|
|
442
|
-
|
|
443
|
-
def remove(self, draw_func):
|
|
444
|
-
"""Remove a draw function that has been added to this menu
|
|
445
287
|
|
|
446
|
-
:param
|
|
288
|
+
:param context:
|
|
447
289
|
"""
|
|
448
290
|
...
|
|
449
291
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
such as textures can be changed at runtime.
|
|
453
|
-
|
|
454
|
-
:return: a new instance of this object with the type initialized again.
|
|
292
|
+
@classmethod
|
|
293
|
+
def poll(cls, context):
|
|
455
294
|
"""
|
|
456
|
-
...
|
|
457
|
-
|
|
458
|
-
def values(self):
|
|
459
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
460
|
-
dictionary function of the same name).
|
|
461
295
|
|
|
462
|
-
|
|
296
|
+
:param context:
|
|
463
297
|
"""
|
|
464
298
|
...
|
|
465
299
|
|
|
466
|
-
class
|
|
300
|
+
class BONE_PT_inverse_kinematics(
|
|
301
|
+
bpy.types.Panel, BoneButtonsPanel, bpy_types._GenericUI
|
|
302
|
+
):
|
|
467
303
|
bl_context: typing.Any
|
|
468
304
|
bl_label: typing.Any
|
|
469
305
|
bl_options: typing.Any
|
|
@@ -472,22 +308,6 @@ class BONE_PT_curved(BoneButtonsPanel, bpy_types._GenericUI):
|
|
|
472
308
|
bl_space_type: typing.Any
|
|
473
309
|
id_data: typing.Any
|
|
474
310
|
|
|
475
|
-
def append(self, draw_func):
|
|
476
|
-
"""Append a draw function to this menu,
|
|
477
|
-
takes the same arguments as the menus draw function
|
|
478
|
-
|
|
479
|
-
:param draw_func:
|
|
480
|
-
"""
|
|
481
|
-
...
|
|
482
|
-
|
|
483
|
-
def as_pointer(self) -> int:
|
|
484
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
485
|
-
|
|
486
|
-
:return: int (memory address).
|
|
487
|
-
:rtype: int
|
|
488
|
-
"""
|
|
489
|
-
...
|
|
490
|
-
|
|
491
311
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
492
312
|
"""
|
|
493
313
|
|
|
@@ -511,1816 +331,85 @@ class BONE_PT_curved(BoneButtonsPanel, bpy_types._GenericUI):
|
|
|
511
331
|
"""
|
|
512
332
|
...
|
|
513
333
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
:return: The driver(s) added.
|
|
518
|
-
:rtype: bpy.types.FCurve
|
|
334
|
+
@classmethod
|
|
335
|
+
def poll(cls, context):
|
|
519
336
|
"""
|
|
520
|
-
...
|
|
521
337
|
|
|
522
|
-
|
|
523
|
-
"""Remove driver(s) from the given property
|
|
524
|
-
|
|
525
|
-
:return: Success of driver removal.
|
|
526
|
-
:rtype: bool
|
|
338
|
+
:param context:
|
|
527
339
|
"""
|
|
528
340
|
...
|
|
529
341
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
342
|
+
class BONE_PT_relations(bpy.types.Panel, BoneButtonsPanel, bpy_types._GenericUI):
|
|
343
|
+
bl_context: typing.Any
|
|
344
|
+
bl_label: typing.Any
|
|
345
|
+
bl_options: typing.Any
|
|
346
|
+
bl_region_type: typing.Any
|
|
347
|
+
bl_rna: typing.Any
|
|
348
|
+
bl_space_type: typing.Any
|
|
349
|
+
id_data: typing.Any
|
|
536
350
|
|
|
537
|
-
def
|
|
351
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
538
352
|
"""
|
|
539
353
|
|
|
540
|
-
:return:
|
|
354
|
+
:return: The RNA type or default when not found.
|
|
355
|
+
:rtype: bpy.types.Struct
|
|
541
356
|
"""
|
|
542
357
|
...
|
|
543
358
|
|
|
544
|
-
def
|
|
359
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
545
360
|
"""
|
|
546
361
|
|
|
547
|
-
:return:
|
|
362
|
+
:return: The class or default when not found.
|
|
363
|
+
:rtype: typing.Any
|
|
548
364
|
"""
|
|
549
365
|
...
|
|
550
366
|
|
|
551
|
-
def
|
|
367
|
+
def draw(self, context):
|
|
552
368
|
"""
|
|
553
369
|
|
|
554
|
-
:
|
|
370
|
+
:param context:
|
|
555
371
|
"""
|
|
556
372
|
...
|
|
557
373
|
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
374
|
+
class BONE_PT_transform(bpy.types.Panel, BoneButtonsPanel, bpy_types._GenericUI):
|
|
375
|
+
bl_context: typing.Any
|
|
376
|
+
bl_label: typing.Any
|
|
377
|
+
bl_region_type: typing.Any
|
|
378
|
+
bl_rna: typing.Any
|
|
379
|
+
bl_space_type: typing.Any
|
|
380
|
+
id_data: typing.Any
|
|
561
381
|
|
|
562
|
-
|
|
563
|
-
:rtype: bool
|
|
382
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
564
383
|
"""
|
|
565
|
-
...
|
|
566
384
|
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
:return: True when the property is overridable.
|
|
571
|
-
:rtype: bool
|
|
385
|
+
:return: The RNA type or default when not found.
|
|
386
|
+
:rtype: bpy.types.Struct
|
|
572
387
|
"""
|
|
573
388
|
...
|
|
574
389
|
|
|
575
|
-
def
|
|
576
|
-
"""Check if a property is readonly.
|
|
577
|
-
|
|
578
|
-
:return: True when the property is readonly (not writable).
|
|
579
|
-
:rtype: bool
|
|
390
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
580
391
|
"""
|
|
581
|
-
...
|
|
582
392
|
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
:return: True when the property has been set.
|
|
587
|
-
:rtype: bool
|
|
393
|
+
:return: The class or default when not found.
|
|
394
|
+
:rtype: typing.Any
|
|
588
395
|
"""
|
|
589
396
|
...
|
|
590
397
|
|
|
591
|
-
def
|
|
592
|
-
"""
|
|
593
|
-
dictionary function of the same name).
|
|
398
|
+
def draw(self, context):
|
|
399
|
+
"""
|
|
594
400
|
|
|
595
|
-
|
|
401
|
+
:param context:
|
|
596
402
|
"""
|
|
597
403
|
...
|
|
598
404
|
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
:return: Success of keyframe deletion.
|
|
603
|
-
:rtype: bool
|
|
604
|
-
"""
|
|
605
|
-
...
|
|
606
|
-
|
|
607
|
-
def keyframe_insert(self) -> bool:
|
|
608
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
609
|
-
|
|
610
|
-
:return: Success of keyframe insertion.
|
|
611
|
-
:rtype: bool
|
|
612
|
-
"""
|
|
613
|
-
...
|
|
614
|
-
|
|
615
|
-
def keys(self):
|
|
616
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
617
|
-
dictionary function of the same name).
|
|
618
|
-
|
|
619
|
-
:return: custom property keys.
|
|
620
|
-
"""
|
|
621
|
-
...
|
|
622
|
-
|
|
623
|
-
def path_from_id(self) -> str:
|
|
624
|
-
"""Returns the data path from the ID to this object (string).
|
|
625
|
-
|
|
626
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
627
|
-
to this struct and property (when given).
|
|
628
|
-
:rtype: str
|
|
629
|
-
"""
|
|
630
|
-
...
|
|
631
|
-
|
|
632
|
-
def path_resolve(self):
|
|
633
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
634
|
-
...
|
|
635
|
-
|
|
636
|
-
def poll(self, context):
|
|
637
|
-
"""
|
|
638
|
-
|
|
639
|
-
:param context:
|
|
640
|
-
"""
|
|
641
|
-
...
|
|
642
|
-
|
|
643
|
-
def pop(self):
|
|
644
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
645
|
-
when not found (matches Python's dictionary function of the same name).
|
|
646
|
-
|
|
647
|
-
"""
|
|
648
|
-
...
|
|
649
|
-
|
|
650
|
-
def prepend(self, draw_func):
|
|
651
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
652
|
-
the menus draw function
|
|
653
|
-
|
|
654
|
-
:param draw_func:
|
|
655
|
-
"""
|
|
656
|
-
...
|
|
657
|
-
|
|
658
|
-
def property_overridable_library_set(self) -> bool:
|
|
659
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
660
|
-
|
|
661
|
-
:return: True when the overridable status of the property was successfully set.
|
|
662
|
-
:rtype: bool
|
|
663
|
-
"""
|
|
664
|
-
...
|
|
665
|
-
|
|
666
|
-
def property_unset(self):
|
|
667
|
-
"""Unset a property, will use default value afterward."""
|
|
668
|
-
...
|
|
669
|
-
|
|
670
|
-
def remove(self, draw_func):
|
|
671
|
-
"""Remove a draw function that has been added to this menu
|
|
672
|
-
|
|
673
|
-
:param draw_func:
|
|
674
|
-
"""
|
|
675
|
-
...
|
|
676
|
-
|
|
677
|
-
def type_recast(self):
|
|
678
|
-
"""Return a new instance, this is needed because types
|
|
679
|
-
such as textures can be changed at runtime.
|
|
680
|
-
|
|
681
|
-
:return: a new instance of this object with the type initialized again.
|
|
682
|
-
"""
|
|
683
|
-
...
|
|
684
|
-
|
|
685
|
-
def values(self):
|
|
686
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
687
|
-
dictionary function of the same name).
|
|
688
|
-
|
|
689
|
-
:return: custom property values.
|
|
690
|
-
"""
|
|
691
|
-
...
|
|
692
|
-
|
|
693
|
-
class BONE_PT_custom_props(
|
|
694
|
-
BoneButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
695
|
-
):
|
|
696
|
-
"""The subclass should have its own poll function
|
|
697
|
-
and the variable '_context_path' MUST be set.
|
|
698
|
-
"""
|
|
699
|
-
|
|
700
|
-
COMPAT_ENGINES: typing.Any
|
|
701
|
-
bl_context: typing.Any
|
|
702
|
-
bl_label: typing.Any
|
|
703
|
-
bl_options: typing.Any
|
|
704
|
-
bl_order: typing.Any
|
|
705
|
-
bl_region_type: typing.Any
|
|
706
|
-
bl_rna: typing.Any
|
|
707
|
-
bl_space_type: typing.Any
|
|
708
|
-
id_data: typing.Any
|
|
709
|
-
|
|
710
|
-
def append(self, draw_func):
|
|
711
|
-
"""Append a draw function to this menu,
|
|
712
|
-
takes the same arguments as the menus draw function
|
|
713
|
-
|
|
714
|
-
:param draw_func:
|
|
715
|
-
"""
|
|
716
|
-
...
|
|
717
|
-
|
|
718
|
-
def as_pointer(self) -> int:
|
|
719
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
720
|
-
|
|
721
|
-
:return: int (memory address).
|
|
722
|
-
:rtype: int
|
|
723
|
-
"""
|
|
724
|
-
...
|
|
725
|
-
|
|
726
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
727
|
-
"""
|
|
728
|
-
|
|
729
|
-
:return: The RNA type or default when not found.
|
|
730
|
-
:rtype: bpy.types.Struct
|
|
731
|
-
"""
|
|
732
|
-
...
|
|
733
|
-
|
|
734
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
735
|
-
"""
|
|
736
|
-
|
|
737
|
-
:return: The class or default when not found.
|
|
738
|
-
:rtype: typing.Any
|
|
739
|
-
"""
|
|
740
|
-
...
|
|
741
|
-
|
|
742
|
-
def draw(self, context):
|
|
743
|
-
"""
|
|
744
|
-
|
|
745
|
-
:param context:
|
|
746
|
-
"""
|
|
747
|
-
...
|
|
748
|
-
|
|
749
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
750
|
-
"""Adds driver(s) to the given property
|
|
751
|
-
|
|
752
|
-
:return: The driver(s) added.
|
|
753
|
-
:rtype: bpy.types.FCurve
|
|
754
|
-
"""
|
|
755
|
-
...
|
|
756
|
-
|
|
757
|
-
def driver_remove(self) -> bool:
|
|
758
|
-
"""Remove driver(s) from the given property
|
|
759
|
-
|
|
760
|
-
:return: Success of driver removal.
|
|
761
|
-
:rtype: bool
|
|
762
|
-
"""
|
|
763
|
-
...
|
|
764
|
-
|
|
765
|
-
def get(self):
|
|
766
|
-
"""Returns the value of the custom property assigned to key or default
|
|
767
|
-
when not found (matches Python's dictionary function of the same name).
|
|
768
|
-
|
|
769
|
-
"""
|
|
770
|
-
...
|
|
771
|
-
|
|
772
|
-
def id_properties_clear(self):
|
|
773
|
-
"""
|
|
774
|
-
|
|
775
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
776
|
-
"""
|
|
777
|
-
...
|
|
778
|
-
|
|
779
|
-
def id_properties_ensure(self):
|
|
780
|
-
"""
|
|
781
|
-
|
|
782
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
783
|
-
"""
|
|
784
|
-
...
|
|
785
|
-
|
|
786
|
-
def id_properties_ui(self):
|
|
787
|
-
"""
|
|
788
|
-
|
|
789
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
790
|
-
"""
|
|
791
|
-
...
|
|
792
|
-
|
|
793
|
-
def is_extended(self): ...
|
|
794
|
-
def is_property_hidden(self) -> bool:
|
|
795
|
-
"""Check if a property is hidden.
|
|
796
|
-
|
|
797
|
-
:return: True when the property is hidden.
|
|
798
|
-
:rtype: bool
|
|
799
|
-
"""
|
|
800
|
-
...
|
|
801
|
-
|
|
802
|
-
def is_property_overridable_library(self) -> bool:
|
|
803
|
-
"""Check if a property is overridable.
|
|
804
|
-
|
|
805
|
-
:return: True when the property is overridable.
|
|
806
|
-
:rtype: bool
|
|
807
|
-
"""
|
|
808
|
-
...
|
|
809
|
-
|
|
810
|
-
def is_property_readonly(self) -> bool:
|
|
811
|
-
"""Check if a property is readonly.
|
|
812
|
-
|
|
813
|
-
:return: True when the property is readonly (not writable).
|
|
814
|
-
:rtype: bool
|
|
815
|
-
"""
|
|
816
|
-
...
|
|
817
|
-
|
|
818
|
-
def is_property_set(self) -> bool:
|
|
819
|
-
"""Check if a property is set, use for testing operator properties.
|
|
820
|
-
|
|
821
|
-
:return: True when the property has been set.
|
|
822
|
-
:rtype: bool
|
|
823
|
-
"""
|
|
824
|
-
...
|
|
825
|
-
|
|
826
|
-
def items(self):
|
|
827
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
828
|
-
dictionary function of the same name).
|
|
829
|
-
|
|
830
|
-
:return: custom property key, value pairs.
|
|
831
|
-
"""
|
|
832
|
-
...
|
|
833
|
-
|
|
834
|
-
def keyframe_delete(self) -> bool:
|
|
835
|
-
"""Remove a keyframe from this properties fcurve.
|
|
836
|
-
|
|
837
|
-
:return: Success of keyframe deletion.
|
|
838
|
-
:rtype: bool
|
|
839
|
-
"""
|
|
840
|
-
...
|
|
841
|
-
|
|
842
|
-
def keyframe_insert(self) -> bool:
|
|
843
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
844
|
-
|
|
845
|
-
:return: Success of keyframe insertion.
|
|
846
|
-
:rtype: bool
|
|
847
|
-
"""
|
|
848
|
-
...
|
|
849
|
-
|
|
850
|
-
def keys(self):
|
|
851
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
852
|
-
dictionary function of the same name).
|
|
853
|
-
|
|
854
|
-
:return: custom property keys.
|
|
855
|
-
"""
|
|
856
|
-
...
|
|
857
|
-
|
|
858
|
-
def path_from_id(self) -> str:
|
|
859
|
-
"""Returns the data path from the ID to this object (string).
|
|
860
|
-
|
|
861
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
862
|
-
to this struct and property (when given).
|
|
863
|
-
:rtype: str
|
|
864
|
-
"""
|
|
865
|
-
...
|
|
866
|
-
|
|
867
|
-
def path_resolve(self):
|
|
868
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
869
|
-
...
|
|
870
|
-
|
|
871
|
-
def poll(self, context):
|
|
872
|
-
"""
|
|
873
|
-
|
|
874
|
-
:param context:
|
|
875
|
-
"""
|
|
876
|
-
...
|
|
877
|
-
|
|
878
|
-
def pop(self):
|
|
879
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
880
|
-
when not found (matches Python's dictionary function of the same name).
|
|
881
|
-
|
|
882
|
-
"""
|
|
883
|
-
...
|
|
884
|
-
|
|
885
|
-
def prepend(self, draw_func):
|
|
886
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
887
|
-
the menus draw function
|
|
888
|
-
|
|
889
|
-
:param draw_func:
|
|
890
|
-
"""
|
|
891
|
-
...
|
|
892
|
-
|
|
893
|
-
def property_overridable_library_set(self) -> bool:
|
|
894
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
895
|
-
|
|
896
|
-
:return: True when the overridable status of the property was successfully set.
|
|
897
|
-
:rtype: bool
|
|
898
|
-
"""
|
|
899
|
-
...
|
|
900
|
-
|
|
901
|
-
def property_unset(self):
|
|
902
|
-
"""Unset a property, will use default value afterward."""
|
|
903
|
-
...
|
|
904
|
-
|
|
905
|
-
def remove(self, draw_func):
|
|
906
|
-
"""Remove a draw function that has been added to this menu
|
|
907
|
-
|
|
908
|
-
:param draw_func:
|
|
909
|
-
"""
|
|
910
|
-
...
|
|
911
|
-
|
|
912
|
-
def type_recast(self):
|
|
913
|
-
"""Return a new instance, this is needed because types
|
|
914
|
-
such as textures can be changed at runtime.
|
|
915
|
-
|
|
916
|
-
:return: a new instance of this object with the type initialized again.
|
|
917
|
-
"""
|
|
918
|
-
...
|
|
919
|
-
|
|
920
|
-
def values(self):
|
|
921
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
922
|
-
dictionary function of the same name).
|
|
923
|
-
|
|
924
|
-
:return: custom property values.
|
|
925
|
-
"""
|
|
926
|
-
...
|
|
927
|
-
|
|
928
|
-
class BONE_PT_deform(BoneButtonsPanel, bpy_types._GenericUI):
|
|
929
|
-
bl_context: typing.Any
|
|
930
|
-
bl_label: typing.Any
|
|
931
|
-
bl_options: typing.Any
|
|
932
|
-
bl_region_type: typing.Any
|
|
933
|
-
bl_rna: typing.Any
|
|
934
|
-
bl_space_type: typing.Any
|
|
935
|
-
id_data: typing.Any
|
|
936
|
-
|
|
937
|
-
def append(self, draw_func):
|
|
938
|
-
"""Append a draw function to this menu,
|
|
939
|
-
takes the same arguments as the menus draw function
|
|
940
|
-
|
|
941
|
-
:param draw_func:
|
|
942
|
-
"""
|
|
943
|
-
...
|
|
944
|
-
|
|
945
|
-
def as_pointer(self) -> int:
|
|
946
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
947
|
-
|
|
948
|
-
:return: int (memory address).
|
|
949
|
-
:rtype: int
|
|
950
|
-
"""
|
|
951
|
-
...
|
|
952
|
-
|
|
953
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
954
|
-
"""
|
|
955
|
-
|
|
956
|
-
:return: The RNA type or default when not found.
|
|
957
|
-
:rtype: bpy.types.Struct
|
|
958
|
-
"""
|
|
959
|
-
...
|
|
960
|
-
|
|
961
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
962
|
-
"""
|
|
963
|
-
|
|
964
|
-
:return: The class or default when not found.
|
|
965
|
-
:rtype: typing.Any
|
|
966
|
-
"""
|
|
967
|
-
...
|
|
968
|
-
|
|
969
|
-
def draw(self, context):
|
|
970
|
-
"""
|
|
971
|
-
|
|
972
|
-
:param context:
|
|
973
|
-
"""
|
|
974
|
-
...
|
|
975
|
-
|
|
976
|
-
def draw_header(self, context):
|
|
977
|
-
"""
|
|
978
|
-
|
|
979
|
-
:param context:
|
|
980
|
-
"""
|
|
981
|
-
...
|
|
982
|
-
|
|
983
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
984
|
-
"""Adds driver(s) to the given property
|
|
985
|
-
|
|
986
|
-
:return: The driver(s) added.
|
|
987
|
-
:rtype: bpy.types.FCurve
|
|
988
|
-
"""
|
|
989
|
-
...
|
|
990
|
-
|
|
991
|
-
def driver_remove(self) -> bool:
|
|
992
|
-
"""Remove driver(s) from the given property
|
|
993
|
-
|
|
994
|
-
:return: Success of driver removal.
|
|
995
|
-
:rtype: bool
|
|
996
|
-
"""
|
|
997
|
-
...
|
|
998
|
-
|
|
999
|
-
def get(self):
|
|
1000
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1001
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1002
|
-
|
|
1003
|
-
"""
|
|
1004
|
-
...
|
|
1005
|
-
|
|
1006
|
-
def id_properties_clear(self):
|
|
1007
|
-
"""
|
|
1008
|
-
|
|
1009
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1010
|
-
"""
|
|
1011
|
-
...
|
|
1012
|
-
|
|
1013
|
-
def id_properties_ensure(self):
|
|
1014
|
-
"""
|
|
1015
|
-
|
|
1016
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1017
|
-
"""
|
|
1018
|
-
...
|
|
1019
|
-
|
|
1020
|
-
def id_properties_ui(self):
|
|
1021
|
-
"""
|
|
1022
|
-
|
|
1023
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1024
|
-
"""
|
|
1025
|
-
...
|
|
1026
|
-
|
|
1027
|
-
def is_extended(self): ...
|
|
1028
|
-
def is_property_hidden(self) -> bool:
|
|
1029
|
-
"""Check if a property is hidden.
|
|
1030
|
-
|
|
1031
|
-
:return: True when the property is hidden.
|
|
1032
|
-
:rtype: bool
|
|
1033
|
-
"""
|
|
1034
|
-
...
|
|
1035
|
-
|
|
1036
|
-
def is_property_overridable_library(self) -> bool:
|
|
1037
|
-
"""Check if a property is overridable.
|
|
1038
|
-
|
|
1039
|
-
:return: True when the property is overridable.
|
|
1040
|
-
:rtype: bool
|
|
1041
|
-
"""
|
|
1042
|
-
...
|
|
1043
|
-
|
|
1044
|
-
def is_property_readonly(self) -> bool:
|
|
1045
|
-
"""Check if a property is readonly.
|
|
1046
|
-
|
|
1047
|
-
:return: True when the property is readonly (not writable).
|
|
1048
|
-
:rtype: bool
|
|
1049
|
-
"""
|
|
1050
|
-
...
|
|
1051
|
-
|
|
1052
|
-
def is_property_set(self) -> bool:
|
|
1053
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1054
|
-
|
|
1055
|
-
:return: True when the property has been set.
|
|
1056
|
-
:rtype: bool
|
|
1057
|
-
"""
|
|
1058
|
-
...
|
|
1059
|
-
|
|
1060
|
-
def items(self):
|
|
1061
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1062
|
-
dictionary function of the same name).
|
|
1063
|
-
|
|
1064
|
-
:return: custom property key, value pairs.
|
|
1065
|
-
"""
|
|
1066
|
-
...
|
|
1067
|
-
|
|
1068
|
-
def keyframe_delete(self) -> bool:
|
|
1069
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1070
|
-
|
|
1071
|
-
:return: Success of keyframe deletion.
|
|
1072
|
-
:rtype: bool
|
|
1073
|
-
"""
|
|
1074
|
-
...
|
|
1075
|
-
|
|
1076
|
-
def keyframe_insert(self) -> bool:
|
|
1077
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1078
|
-
|
|
1079
|
-
:return: Success of keyframe insertion.
|
|
1080
|
-
:rtype: bool
|
|
1081
|
-
"""
|
|
1082
|
-
...
|
|
1083
|
-
|
|
1084
|
-
def keys(self):
|
|
1085
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1086
|
-
dictionary function of the same name).
|
|
1087
|
-
|
|
1088
|
-
:return: custom property keys.
|
|
1089
|
-
"""
|
|
1090
|
-
...
|
|
1091
|
-
|
|
1092
|
-
def path_from_id(self) -> str:
|
|
1093
|
-
"""Returns the data path from the ID to this object (string).
|
|
1094
|
-
|
|
1095
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1096
|
-
to this struct and property (when given).
|
|
1097
|
-
:rtype: str
|
|
1098
|
-
"""
|
|
1099
|
-
...
|
|
1100
|
-
|
|
1101
|
-
def path_resolve(self):
|
|
1102
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1103
|
-
...
|
|
1104
|
-
|
|
1105
|
-
def poll(self, context):
|
|
1106
|
-
"""
|
|
1107
|
-
|
|
1108
|
-
:param context:
|
|
1109
|
-
"""
|
|
1110
|
-
...
|
|
1111
|
-
|
|
1112
|
-
def pop(self):
|
|
1113
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1114
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1115
|
-
|
|
1116
|
-
"""
|
|
1117
|
-
...
|
|
1118
|
-
|
|
1119
|
-
def prepend(self, draw_func):
|
|
1120
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1121
|
-
the menus draw function
|
|
1122
|
-
|
|
1123
|
-
:param draw_func:
|
|
1124
|
-
"""
|
|
1125
|
-
...
|
|
1126
|
-
|
|
1127
|
-
def property_overridable_library_set(self) -> bool:
|
|
1128
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1129
|
-
|
|
1130
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1131
|
-
:rtype: bool
|
|
1132
|
-
"""
|
|
1133
|
-
...
|
|
1134
|
-
|
|
1135
|
-
def property_unset(self):
|
|
1136
|
-
"""Unset a property, will use default value afterward."""
|
|
1137
|
-
...
|
|
1138
|
-
|
|
1139
|
-
def remove(self, draw_func):
|
|
1140
|
-
"""Remove a draw function that has been added to this menu
|
|
1141
|
-
|
|
1142
|
-
:param draw_func:
|
|
1143
|
-
"""
|
|
1144
|
-
...
|
|
1145
|
-
|
|
1146
|
-
def type_recast(self):
|
|
1147
|
-
"""Return a new instance, this is needed because types
|
|
1148
|
-
such as textures can be changed at runtime.
|
|
1149
|
-
|
|
1150
|
-
:return: a new instance of this object with the type initialized again.
|
|
1151
|
-
"""
|
|
1152
|
-
...
|
|
1153
|
-
|
|
1154
|
-
def values(self):
|
|
1155
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1156
|
-
dictionary function of the same name).
|
|
1157
|
-
|
|
1158
|
-
:return: custom property values.
|
|
1159
|
-
"""
|
|
1160
|
-
...
|
|
1161
|
-
|
|
1162
|
-
class BONE_PT_display(BoneButtonsPanel, bpy_types._GenericUI):
|
|
1163
|
-
bl_context: typing.Any
|
|
1164
|
-
bl_label: typing.Any
|
|
1165
|
-
bl_options: typing.Any
|
|
1166
|
-
bl_region_type: typing.Any
|
|
1167
|
-
bl_rna: typing.Any
|
|
1168
|
-
bl_space_type: typing.Any
|
|
1169
|
-
id_data: typing.Any
|
|
1170
|
-
|
|
1171
|
-
def append(self, draw_func):
|
|
1172
|
-
"""Append a draw function to this menu,
|
|
1173
|
-
takes the same arguments as the menus draw function
|
|
1174
|
-
|
|
1175
|
-
:param draw_func:
|
|
1176
|
-
"""
|
|
1177
|
-
...
|
|
1178
|
-
|
|
1179
|
-
def as_pointer(self) -> int:
|
|
1180
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1181
|
-
|
|
1182
|
-
:return: int (memory address).
|
|
1183
|
-
:rtype: int
|
|
1184
|
-
"""
|
|
1185
|
-
...
|
|
1186
|
-
|
|
1187
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1188
|
-
"""
|
|
1189
|
-
|
|
1190
|
-
:return: The RNA type or default when not found.
|
|
1191
|
-
:rtype: bpy.types.Struct
|
|
1192
|
-
"""
|
|
1193
|
-
...
|
|
1194
|
-
|
|
1195
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1196
|
-
"""
|
|
1197
|
-
|
|
1198
|
-
:return: The class or default when not found.
|
|
1199
|
-
:rtype: typing.Any
|
|
1200
|
-
"""
|
|
1201
|
-
...
|
|
1202
|
-
|
|
1203
|
-
def draw(self, context):
|
|
1204
|
-
"""
|
|
1205
|
-
|
|
1206
|
-
:param context:
|
|
1207
|
-
"""
|
|
1208
|
-
...
|
|
1209
|
-
|
|
1210
|
-
def draw_bone(self, context, layout):
|
|
1211
|
-
"""
|
|
1212
|
-
|
|
1213
|
-
:param context:
|
|
1214
|
-
:param layout:
|
|
1215
|
-
"""
|
|
1216
|
-
...
|
|
1217
|
-
|
|
1218
|
-
def draw_bone_color_ui(self, layout, bone_color):
|
|
1219
|
-
"""
|
|
1220
|
-
|
|
1221
|
-
:param layout:
|
|
1222
|
-
:param bone_color:
|
|
1223
|
-
"""
|
|
1224
|
-
...
|
|
1225
|
-
|
|
1226
|
-
def draw_edit_bone(self, context, layout):
|
|
1227
|
-
"""
|
|
1228
|
-
|
|
1229
|
-
:param context:
|
|
1230
|
-
:param layout:
|
|
1231
|
-
"""
|
|
1232
|
-
...
|
|
1233
|
-
|
|
1234
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1235
|
-
"""Adds driver(s) to the given property
|
|
1236
|
-
|
|
1237
|
-
:return: The driver(s) added.
|
|
1238
|
-
:rtype: bpy.types.FCurve
|
|
1239
|
-
"""
|
|
1240
|
-
...
|
|
1241
|
-
|
|
1242
|
-
def driver_remove(self) -> bool:
|
|
1243
|
-
"""Remove driver(s) from the given property
|
|
1244
|
-
|
|
1245
|
-
:return: Success of driver removal.
|
|
1246
|
-
:rtype: bool
|
|
1247
|
-
"""
|
|
1248
|
-
...
|
|
1249
|
-
|
|
1250
|
-
def get(self):
|
|
1251
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1252
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1253
|
-
|
|
1254
|
-
"""
|
|
1255
|
-
...
|
|
1256
|
-
|
|
1257
|
-
def id_properties_clear(self):
|
|
1258
|
-
"""
|
|
1259
|
-
|
|
1260
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1261
|
-
"""
|
|
1262
|
-
...
|
|
1263
|
-
|
|
1264
|
-
def id_properties_ensure(self):
|
|
1265
|
-
"""
|
|
1266
|
-
|
|
1267
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1268
|
-
"""
|
|
1269
|
-
...
|
|
1270
|
-
|
|
1271
|
-
def id_properties_ui(self):
|
|
1272
|
-
"""
|
|
1273
|
-
|
|
1274
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1275
|
-
"""
|
|
1276
|
-
...
|
|
1277
|
-
|
|
1278
|
-
def is_extended(self): ...
|
|
1279
|
-
def is_property_hidden(self) -> bool:
|
|
1280
|
-
"""Check if a property is hidden.
|
|
1281
|
-
|
|
1282
|
-
:return: True when the property is hidden.
|
|
1283
|
-
:rtype: bool
|
|
1284
|
-
"""
|
|
1285
|
-
...
|
|
1286
|
-
|
|
1287
|
-
def is_property_overridable_library(self) -> bool:
|
|
1288
|
-
"""Check if a property is overridable.
|
|
1289
|
-
|
|
1290
|
-
:return: True when the property is overridable.
|
|
1291
|
-
:rtype: bool
|
|
1292
|
-
"""
|
|
1293
|
-
...
|
|
1294
|
-
|
|
1295
|
-
def is_property_readonly(self) -> bool:
|
|
1296
|
-
"""Check if a property is readonly.
|
|
1297
|
-
|
|
1298
|
-
:return: True when the property is readonly (not writable).
|
|
1299
|
-
:rtype: bool
|
|
1300
|
-
"""
|
|
1301
|
-
...
|
|
1302
|
-
|
|
1303
|
-
def is_property_set(self) -> bool:
|
|
1304
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1305
|
-
|
|
1306
|
-
:return: True when the property has been set.
|
|
1307
|
-
:rtype: bool
|
|
1308
|
-
"""
|
|
1309
|
-
...
|
|
1310
|
-
|
|
1311
|
-
def items(self):
|
|
1312
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1313
|
-
dictionary function of the same name).
|
|
1314
|
-
|
|
1315
|
-
:return: custom property key, value pairs.
|
|
1316
|
-
"""
|
|
1317
|
-
...
|
|
1318
|
-
|
|
1319
|
-
def keyframe_delete(self) -> bool:
|
|
1320
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1321
|
-
|
|
1322
|
-
:return: Success of keyframe deletion.
|
|
1323
|
-
:rtype: bool
|
|
1324
|
-
"""
|
|
1325
|
-
...
|
|
1326
|
-
|
|
1327
|
-
def keyframe_insert(self) -> bool:
|
|
1328
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1329
|
-
|
|
1330
|
-
:return: Success of keyframe insertion.
|
|
1331
|
-
:rtype: bool
|
|
1332
|
-
"""
|
|
1333
|
-
...
|
|
1334
|
-
|
|
1335
|
-
def keys(self):
|
|
1336
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1337
|
-
dictionary function of the same name).
|
|
1338
|
-
|
|
1339
|
-
:return: custom property keys.
|
|
1340
|
-
"""
|
|
1341
|
-
...
|
|
1342
|
-
|
|
1343
|
-
def path_from_id(self) -> str:
|
|
1344
|
-
"""Returns the data path from the ID to this object (string).
|
|
1345
|
-
|
|
1346
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1347
|
-
to this struct and property (when given).
|
|
1348
|
-
:rtype: str
|
|
1349
|
-
"""
|
|
1350
|
-
...
|
|
1351
|
-
|
|
1352
|
-
def path_resolve(self):
|
|
1353
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1354
|
-
...
|
|
1355
|
-
|
|
1356
|
-
@classmethod
|
|
1357
|
-
def poll(cls, context):
|
|
1358
|
-
"""
|
|
1359
|
-
|
|
1360
|
-
:param context:
|
|
1361
|
-
"""
|
|
1362
|
-
...
|
|
1363
|
-
|
|
1364
|
-
def pop(self):
|
|
1365
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1366
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1367
|
-
|
|
1368
|
-
"""
|
|
1369
|
-
...
|
|
1370
|
-
|
|
1371
|
-
def prepend(self, draw_func):
|
|
1372
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1373
|
-
the menus draw function
|
|
1374
|
-
|
|
1375
|
-
:param draw_func:
|
|
1376
|
-
"""
|
|
1377
|
-
...
|
|
1378
|
-
|
|
1379
|
-
def property_overridable_library_set(self) -> bool:
|
|
1380
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1381
|
-
|
|
1382
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1383
|
-
:rtype: bool
|
|
1384
|
-
"""
|
|
1385
|
-
...
|
|
1386
|
-
|
|
1387
|
-
def property_unset(self):
|
|
1388
|
-
"""Unset a property, will use default value afterward."""
|
|
1389
|
-
...
|
|
1390
|
-
|
|
1391
|
-
def remove(self, draw_func):
|
|
1392
|
-
"""Remove a draw function that has been added to this menu
|
|
1393
|
-
|
|
1394
|
-
:param draw_func:
|
|
1395
|
-
"""
|
|
1396
|
-
...
|
|
1397
|
-
|
|
1398
|
-
def type_recast(self):
|
|
1399
|
-
"""Return a new instance, this is needed because types
|
|
1400
|
-
such as textures can be changed at runtime.
|
|
1401
|
-
|
|
1402
|
-
:return: a new instance of this object with the type initialized again.
|
|
1403
|
-
"""
|
|
1404
|
-
...
|
|
1405
|
-
|
|
1406
|
-
def values(self):
|
|
1407
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1408
|
-
dictionary function of the same name).
|
|
1409
|
-
|
|
1410
|
-
:return: custom property values.
|
|
1411
|
-
"""
|
|
1412
|
-
...
|
|
1413
|
-
|
|
1414
|
-
class BONE_PT_display_custom_shape(BoneButtonsPanel, bpy_types._GenericUI):
|
|
1415
|
-
bl_context: typing.Any
|
|
1416
|
-
bl_label: typing.Any
|
|
1417
|
-
bl_parent_id: typing.Any
|
|
1418
|
-
bl_region_type: typing.Any
|
|
1419
|
-
bl_rna: typing.Any
|
|
1420
|
-
bl_space_type: typing.Any
|
|
1421
|
-
id_data: typing.Any
|
|
1422
|
-
|
|
1423
|
-
def append(self, draw_func):
|
|
1424
|
-
"""Append a draw function to this menu,
|
|
1425
|
-
takes the same arguments as the menus draw function
|
|
1426
|
-
|
|
1427
|
-
:param draw_func:
|
|
1428
|
-
"""
|
|
1429
|
-
...
|
|
1430
|
-
|
|
1431
|
-
def as_pointer(self) -> int:
|
|
1432
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1433
|
-
|
|
1434
|
-
:return: int (memory address).
|
|
1435
|
-
:rtype: int
|
|
1436
|
-
"""
|
|
1437
|
-
...
|
|
1438
|
-
|
|
1439
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1440
|
-
"""
|
|
1441
|
-
|
|
1442
|
-
:return: The RNA type or default when not found.
|
|
1443
|
-
:rtype: bpy.types.Struct
|
|
1444
|
-
"""
|
|
1445
|
-
...
|
|
1446
|
-
|
|
1447
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1448
|
-
"""
|
|
1449
|
-
|
|
1450
|
-
:return: The class or default when not found.
|
|
1451
|
-
:rtype: typing.Any
|
|
1452
|
-
"""
|
|
1453
|
-
...
|
|
1454
|
-
|
|
1455
|
-
def draw(self, context):
|
|
1456
|
-
"""
|
|
1457
|
-
|
|
1458
|
-
:param context:
|
|
1459
|
-
"""
|
|
1460
|
-
...
|
|
1461
|
-
|
|
1462
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1463
|
-
"""Adds driver(s) to the given property
|
|
1464
|
-
|
|
1465
|
-
:return: The driver(s) added.
|
|
1466
|
-
:rtype: bpy.types.FCurve
|
|
1467
|
-
"""
|
|
1468
|
-
...
|
|
1469
|
-
|
|
1470
|
-
def driver_remove(self) -> bool:
|
|
1471
|
-
"""Remove driver(s) from the given property
|
|
1472
|
-
|
|
1473
|
-
:return: Success of driver removal.
|
|
1474
|
-
:rtype: bool
|
|
1475
|
-
"""
|
|
1476
|
-
...
|
|
1477
|
-
|
|
1478
|
-
def get(self):
|
|
1479
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1480
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1481
|
-
|
|
1482
|
-
"""
|
|
1483
|
-
...
|
|
1484
|
-
|
|
1485
|
-
def id_properties_clear(self):
|
|
1486
|
-
"""
|
|
1487
|
-
|
|
1488
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1489
|
-
"""
|
|
1490
|
-
...
|
|
1491
|
-
|
|
1492
|
-
def id_properties_ensure(self):
|
|
1493
|
-
"""
|
|
1494
|
-
|
|
1495
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1496
|
-
"""
|
|
1497
|
-
...
|
|
1498
|
-
|
|
1499
|
-
def id_properties_ui(self):
|
|
1500
|
-
"""
|
|
1501
|
-
|
|
1502
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1503
|
-
"""
|
|
1504
|
-
...
|
|
1505
|
-
|
|
1506
|
-
def is_extended(self): ...
|
|
1507
|
-
def is_property_hidden(self) -> bool:
|
|
1508
|
-
"""Check if a property is hidden.
|
|
1509
|
-
|
|
1510
|
-
:return: True when the property is hidden.
|
|
1511
|
-
:rtype: bool
|
|
1512
|
-
"""
|
|
1513
|
-
...
|
|
1514
|
-
|
|
1515
|
-
def is_property_overridable_library(self) -> bool:
|
|
1516
|
-
"""Check if a property is overridable.
|
|
1517
|
-
|
|
1518
|
-
:return: True when the property is overridable.
|
|
1519
|
-
:rtype: bool
|
|
1520
|
-
"""
|
|
1521
|
-
...
|
|
1522
|
-
|
|
1523
|
-
def is_property_readonly(self) -> bool:
|
|
1524
|
-
"""Check if a property is readonly.
|
|
1525
|
-
|
|
1526
|
-
:return: True when the property is readonly (not writable).
|
|
1527
|
-
:rtype: bool
|
|
1528
|
-
"""
|
|
1529
|
-
...
|
|
1530
|
-
|
|
1531
|
-
def is_property_set(self) -> bool:
|
|
1532
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1533
|
-
|
|
1534
|
-
:return: True when the property has been set.
|
|
1535
|
-
:rtype: bool
|
|
1536
|
-
"""
|
|
1537
|
-
...
|
|
1538
|
-
|
|
1539
|
-
def items(self):
|
|
1540
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1541
|
-
dictionary function of the same name).
|
|
1542
|
-
|
|
1543
|
-
:return: custom property key, value pairs.
|
|
1544
|
-
"""
|
|
1545
|
-
...
|
|
1546
|
-
|
|
1547
|
-
def keyframe_delete(self) -> bool:
|
|
1548
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1549
|
-
|
|
1550
|
-
:return: Success of keyframe deletion.
|
|
1551
|
-
:rtype: bool
|
|
1552
|
-
"""
|
|
1553
|
-
...
|
|
1554
|
-
|
|
1555
|
-
def keyframe_insert(self) -> bool:
|
|
1556
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1557
|
-
|
|
1558
|
-
:return: Success of keyframe insertion.
|
|
1559
|
-
:rtype: bool
|
|
1560
|
-
"""
|
|
1561
|
-
...
|
|
1562
|
-
|
|
1563
|
-
def keys(self):
|
|
1564
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1565
|
-
dictionary function of the same name).
|
|
1566
|
-
|
|
1567
|
-
:return: custom property keys.
|
|
1568
|
-
"""
|
|
1569
|
-
...
|
|
1570
|
-
|
|
1571
|
-
def path_from_id(self) -> str:
|
|
1572
|
-
"""Returns the data path from the ID to this object (string).
|
|
1573
|
-
|
|
1574
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1575
|
-
to this struct and property (when given).
|
|
1576
|
-
:rtype: str
|
|
1577
|
-
"""
|
|
1578
|
-
...
|
|
1579
|
-
|
|
1580
|
-
def path_resolve(self):
|
|
1581
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1582
|
-
...
|
|
1583
|
-
|
|
1584
|
-
@classmethod
|
|
1585
|
-
def poll(cls, context):
|
|
1586
|
-
"""
|
|
1587
|
-
|
|
1588
|
-
:param context:
|
|
1589
|
-
"""
|
|
1590
|
-
...
|
|
1591
|
-
|
|
1592
|
-
def pop(self):
|
|
1593
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1594
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1595
|
-
|
|
1596
|
-
"""
|
|
1597
|
-
...
|
|
1598
|
-
|
|
1599
|
-
def prepend(self, draw_func):
|
|
1600
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1601
|
-
the menus draw function
|
|
1602
|
-
|
|
1603
|
-
:param draw_func:
|
|
1604
|
-
"""
|
|
1605
|
-
...
|
|
1606
|
-
|
|
1607
|
-
def property_overridable_library_set(self) -> bool:
|
|
1608
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1609
|
-
|
|
1610
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1611
|
-
:rtype: bool
|
|
1612
|
-
"""
|
|
1613
|
-
...
|
|
1614
|
-
|
|
1615
|
-
def property_unset(self):
|
|
1616
|
-
"""Unset a property, will use default value afterward."""
|
|
1617
|
-
...
|
|
1618
|
-
|
|
1619
|
-
def remove(self, draw_func):
|
|
1620
|
-
"""Remove a draw function that has been added to this menu
|
|
1621
|
-
|
|
1622
|
-
:param draw_func:
|
|
1623
|
-
"""
|
|
1624
|
-
...
|
|
1625
|
-
|
|
1626
|
-
def type_recast(self):
|
|
1627
|
-
"""Return a new instance, this is needed because types
|
|
1628
|
-
such as textures can be changed at runtime.
|
|
1629
|
-
|
|
1630
|
-
:return: a new instance of this object with the type initialized again.
|
|
1631
|
-
"""
|
|
1632
|
-
...
|
|
1633
|
-
|
|
1634
|
-
def values(self):
|
|
1635
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1636
|
-
dictionary function of the same name).
|
|
1637
|
-
|
|
1638
|
-
:return: custom property values.
|
|
1639
|
-
"""
|
|
1640
|
-
...
|
|
1641
|
-
|
|
1642
|
-
class BONE_PT_inverse_kinematics(BoneButtonsPanel, bpy_types._GenericUI):
|
|
1643
|
-
bl_context: typing.Any
|
|
1644
|
-
bl_label: typing.Any
|
|
1645
|
-
bl_options: typing.Any
|
|
1646
|
-
bl_region_type: typing.Any
|
|
1647
|
-
bl_rna: typing.Any
|
|
1648
|
-
bl_space_type: typing.Any
|
|
1649
|
-
id_data: typing.Any
|
|
1650
|
-
|
|
1651
|
-
def append(self, draw_func):
|
|
1652
|
-
"""Append a draw function to this menu,
|
|
1653
|
-
takes the same arguments as the menus draw function
|
|
1654
|
-
|
|
1655
|
-
:param draw_func:
|
|
1656
|
-
"""
|
|
1657
|
-
...
|
|
1658
|
-
|
|
1659
|
-
def as_pointer(self) -> int:
|
|
1660
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1661
|
-
|
|
1662
|
-
:return: int (memory address).
|
|
1663
|
-
:rtype: int
|
|
1664
|
-
"""
|
|
1665
|
-
...
|
|
1666
|
-
|
|
1667
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1668
|
-
"""
|
|
1669
|
-
|
|
1670
|
-
:return: The RNA type or default when not found.
|
|
1671
|
-
:rtype: bpy.types.Struct
|
|
1672
|
-
"""
|
|
1673
|
-
...
|
|
1674
|
-
|
|
1675
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1676
|
-
"""
|
|
1677
|
-
|
|
1678
|
-
:return: The class or default when not found.
|
|
1679
|
-
:rtype: typing.Any
|
|
1680
|
-
"""
|
|
1681
|
-
...
|
|
1682
|
-
|
|
1683
|
-
def draw(self, context):
|
|
1684
|
-
"""
|
|
1685
|
-
|
|
1686
|
-
:param context:
|
|
1687
|
-
"""
|
|
1688
|
-
...
|
|
1689
|
-
|
|
1690
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1691
|
-
"""Adds driver(s) to the given property
|
|
1692
|
-
|
|
1693
|
-
:return: The driver(s) added.
|
|
1694
|
-
:rtype: bpy.types.FCurve
|
|
1695
|
-
"""
|
|
1696
|
-
...
|
|
1697
|
-
|
|
1698
|
-
def driver_remove(self) -> bool:
|
|
1699
|
-
"""Remove driver(s) from the given property
|
|
1700
|
-
|
|
1701
|
-
:return: Success of driver removal.
|
|
1702
|
-
:rtype: bool
|
|
1703
|
-
"""
|
|
1704
|
-
...
|
|
1705
|
-
|
|
1706
|
-
def get(self):
|
|
1707
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1708
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1709
|
-
|
|
1710
|
-
"""
|
|
1711
|
-
...
|
|
1712
|
-
|
|
1713
|
-
def id_properties_clear(self):
|
|
1714
|
-
"""
|
|
1715
|
-
|
|
1716
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1717
|
-
"""
|
|
1718
|
-
...
|
|
1719
|
-
|
|
1720
|
-
def id_properties_ensure(self):
|
|
1721
|
-
"""
|
|
1722
|
-
|
|
1723
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1724
|
-
"""
|
|
1725
|
-
...
|
|
1726
|
-
|
|
1727
|
-
def id_properties_ui(self):
|
|
1728
|
-
"""
|
|
1729
|
-
|
|
1730
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1731
|
-
"""
|
|
1732
|
-
...
|
|
1733
|
-
|
|
1734
|
-
def is_extended(self): ...
|
|
1735
|
-
def is_property_hidden(self) -> bool:
|
|
1736
|
-
"""Check if a property is hidden.
|
|
1737
|
-
|
|
1738
|
-
:return: True when the property is hidden.
|
|
1739
|
-
:rtype: bool
|
|
1740
|
-
"""
|
|
1741
|
-
...
|
|
1742
|
-
|
|
1743
|
-
def is_property_overridable_library(self) -> bool:
|
|
1744
|
-
"""Check if a property is overridable.
|
|
1745
|
-
|
|
1746
|
-
:return: True when the property is overridable.
|
|
1747
|
-
:rtype: bool
|
|
1748
|
-
"""
|
|
1749
|
-
...
|
|
1750
|
-
|
|
1751
|
-
def is_property_readonly(self) -> bool:
|
|
1752
|
-
"""Check if a property is readonly.
|
|
1753
|
-
|
|
1754
|
-
:return: True when the property is readonly (not writable).
|
|
1755
|
-
:rtype: bool
|
|
1756
|
-
"""
|
|
1757
|
-
...
|
|
1758
|
-
|
|
1759
|
-
def is_property_set(self) -> bool:
|
|
1760
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1761
|
-
|
|
1762
|
-
:return: True when the property has been set.
|
|
1763
|
-
:rtype: bool
|
|
1764
|
-
"""
|
|
1765
|
-
...
|
|
1766
|
-
|
|
1767
|
-
def items(self):
|
|
1768
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1769
|
-
dictionary function of the same name).
|
|
1770
|
-
|
|
1771
|
-
:return: custom property key, value pairs.
|
|
1772
|
-
"""
|
|
1773
|
-
...
|
|
1774
|
-
|
|
1775
|
-
def keyframe_delete(self) -> bool:
|
|
1776
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1777
|
-
|
|
1778
|
-
:return: Success of keyframe deletion.
|
|
1779
|
-
:rtype: bool
|
|
1780
|
-
"""
|
|
1781
|
-
...
|
|
1782
|
-
|
|
1783
|
-
def keyframe_insert(self) -> bool:
|
|
1784
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1785
|
-
|
|
1786
|
-
:return: Success of keyframe insertion.
|
|
1787
|
-
:rtype: bool
|
|
1788
|
-
"""
|
|
1789
|
-
...
|
|
1790
|
-
|
|
1791
|
-
def keys(self):
|
|
1792
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1793
|
-
dictionary function of the same name).
|
|
1794
|
-
|
|
1795
|
-
:return: custom property keys.
|
|
1796
|
-
"""
|
|
1797
|
-
...
|
|
1798
|
-
|
|
1799
|
-
def path_from_id(self) -> str:
|
|
1800
|
-
"""Returns the data path from the ID to this object (string).
|
|
1801
|
-
|
|
1802
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1803
|
-
to this struct and property (when given).
|
|
1804
|
-
:rtype: str
|
|
1805
|
-
"""
|
|
1806
|
-
...
|
|
1807
|
-
|
|
1808
|
-
def path_resolve(self):
|
|
1809
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1810
|
-
...
|
|
1811
|
-
|
|
1812
|
-
@classmethod
|
|
1813
|
-
def poll(cls, context):
|
|
1814
|
-
"""
|
|
1815
|
-
|
|
1816
|
-
:param context:
|
|
1817
|
-
"""
|
|
1818
|
-
...
|
|
1819
|
-
|
|
1820
|
-
def pop(self):
|
|
1821
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1822
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1823
|
-
|
|
1824
|
-
"""
|
|
1825
|
-
...
|
|
1826
|
-
|
|
1827
|
-
def prepend(self, draw_func):
|
|
1828
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1829
|
-
the menus draw function
|
|
1830
|
-
|
|
1831
|
-
:param draw_func:
|
|
1832
|
-
"""
|
|
1833
|
-
...
|
|
1834
|
-
|
|
1835
|
-
def property_overridable_library_set(self) -> bool:
|
|
1836
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1837
|
-
|
|
1838
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1839
|
-
:rtype: bool
|
|
1840
|
-
"""
|
|
1841
|
-
...
|
|
1842
|
-
|
|
1843
|
-
def property_unset(self):
|
|
1844
|
-
"""Unset a property, will use default value afterward."""
|
|
1845
|
-
...
|
|
1846
|
-
|
|
1847
|
-
def remove(self, draw_func):
|
|
1848
|
-
"""Remove a draw function that has been added to this menu
|
|
1849
|
-
|
|
1850
|
-
:param draw_func:
|
|
1851
|
-
"""
|
|
1852
|
-
...
|
|
1853
|
-
|
|
1854
|
-
def type_recast(self):
|
|
1855
|
-
"""Return a new instance, this is needed because types
|
|
1856
|
-
such as textures can be changed at runtime.
|
|
1857
|
-
|
|
1858
|
-
:return: a new instance of this object with the type initialized again.
|
|
1859
|
-
"""
|
|
1860
|
-
...
|
|
1861
|
-
|
|
1862
|
-
def values(self):
|
|
1863
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1864
|
-
dictionary function of the same name).
|
|
1865
|
-
|
|
1866
|
-
:return: custom property values.
|
|
1867
|
-
"""
|
|
1868
|
-
...
|
|
1869
|
-
|
|
1870
|
-
class BONE_PT_relations(BoneButtonsPanel, bpy_types._GenericUI):
|
|
1871
|
-
bl_context: typing.Any
|
|
1872
|
-
bl_label: typing.Any
|
|
1873
|
-
bl_options: typing.Any
|
|
1874
|
-
bl_region_type: typing.Any
|
|
1875
|
-
bl_rna: typing.Any
|
|
1876
|
-
bl_space_type: typing.Any
|
|
1877
|
-
id_data: typing.Any
|
|
1878
|
-
|
|
1879
|
-
def append(self, draw_func):
|
|
1880
|
-
"""Append a draw function to this menu,
|
|
1881
|
-
takes the same arguments as the menus draw function
|
|
1882
|
-
|
|
1883
|
-
:param draw_func:
|
|
1884
|
-
"""
|
|
1885
|
-
...
|
|
1886
|
-
|
|
1887
|
-
def as_pointer(self) -> int:
|
|
1888
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1889
|
-
|
|
1890
|
-
:return: int (memory address).
|
|
1891
|
-
:rtype: int
|
|
1892
|
-
"""
|
|
1893
|
-
...
|
|
1894
|
-
|
|
1895
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1896
|
-
"""
|
|
1897
|
-
|
|
1898
|
-
:return: The RNA type or default when not found.
|
|
1899
|
-
:rtype: bpy.types.Struct
|
|
1900
|
-
"""
|
|
1901
|
-
...
|
|
1902
|
-
|
|
1903
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1904
|
-
"""
|
|
1905
|
-
|
|
1906
|
-
:return: The class or default when not found.
|
|
1907
|
-
:rtype: typing.Any
|
|
1908
|
-
"""
|
|
1909
|
-
...
|
|
1910
|
-
|
|
1911
|
-
def draw(self, context):
|
|
1912
|
-
"""
|
|
1913
|
-
|
|
1914
|
-
:param context:
|
|
1915
|
-
"""
|
|
1916
|
-
...
|
|
1917
|
-
|
|
1918
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1919
|
-
"""Adds driver(s) to the given property
|
|
1920
|
-
|
|
1921
|
-
:return: The driver(s) added.
|
|
1922
|
-
:rtype: bpy.types.FCurve
|
|
1923
|
-
"""
|
|
1924
|
-
...
|
|
1925
|
-
|
|
1926
|
-
def driver_remove(self) -> bool:
|
|
1927
|
-
"""Remove driver(s) from the given property
|
|
1928
|
-
|
|
1929
|
-
:return: Success of driver removal.
|
|
1930
|
-
:rtype: bool
|
|
1931
|
-
"""
|
|
1932
|
-
...
|
|
1933
|
-
|
|
1934
|
-
def get(self):
|
|
1935
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1936
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1937
|
-
|
|
1938
|
-
"""
|
|
1939
|
-
...
|
|
1940
|
-
|
|
1941
|
-
def id_properties_clear(self):
|
|
1942
|
-
"""
|
|
1943
|
-
|
|
1944
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1945
|
-
"""
|
|
1946
|
-
...
|
|
1947
|
-
|
|
1948
|
-
def id_properties_ensure(self):
|
|
1949
|
-
"""
|
|
1950
|
-
|
|
1951
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1952
|
-
"""
|
|
1953
|
-
...
|
|
1954
|
-
|
|
1955
|
-
def id_properties_ui(self):
|
|
1956
|
-
"""
|
|
1957
|
-
|
|
1958
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1959
|
-
"""
|
|
1960
|
-
...
|
|
1961
|
-
|
|
1962
|
-
def is_extended(self): ...
|
|
1963
|
-
def is_property_hidden(self) -> bool:
|
|
1964
|
-
"""Check if a property is hidden.
|
|
1965
|
-
|
|
1966
|
-
:return: True when the property is hidden.
|
|
1967
|
-
:rtype: bool
|
|
1968
|
-
"""
|
|
1969
|
-
...
|
|
1970
|
-
|
|
1971
|
-
def is_property_overridable_library(self) -> bool:
|
|
1972
|
-
"""Check if a property is overridable.
|
|
1973
|
-
|
|
1974
|
-
:return: True when the property is overridable.
|
|
1975
|
-
:rtype: bool
|
|
1976
|
-
"""
|
|
1977
|
-
...
|
|
1978
|
-
|
|
1979
|
-
def is_property_readonly(self) -> bool:
|
|
1980
|
-
"""Check if a property is readonly.
|
|
1981
|
-
|
|
1982
|
-
:return: True when the property is readonly (not writable).
|
|
1983
|
-
:rtype: bool
|
|
1984
|
-
"""
|
|
1985
|
-
...
|
|
1986
|
-
|
|
1987
|
-
def is_property_set(self) -> bool:
|
|
1988
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1989
|
-
|
|
1990
|
-
:return: True when the property has been set.
|
|
1991
|
-
:rtype: bool
|
|
1992
|
-
"""
|
|
1993
|
-
...
|
|
1994
|
-
|
|
1995
|
-
def items(self):
|
|
1996
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1997
|
-
dictionary function of the same name).
|
|
1998
|
-
|
|
1999
|
-
:return: custom property key, value pairs.
|
|
2000
|
-
"""
|
|
2001
|
-
...
|
|
2002
|
-
|
|
2003
|
-
def keyframe_delete(self) -> bool:
|
|
2004
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2005
|
-
|
|
2006
|
-
:return: Success of keyframe deletion.
|
|
2007
|
-
:rtype: bool
|
|
2008
|
-
"""
|
|
2009
|
-
...
|
|
2010
|
-
|
|
2011
|
-
def keyframe_insert(self) -> bool:
|
|
2012
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2013
|
-
|
|
2014
|
-
:return: Success of keyframe insertion.
|
|
2015
|
-
:rtype: bool
|
|
2016
|
-
"""
|
|
2017
|
-
...
|
|
2018
|
-
|
|
2019
|
-
def keys(self):
|
|
2020
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2021
|
-
dictionary function of the same name).
|
|
2022
|
-
|
|
2023
|
-
:return: custom property keys.
|
|
2024
|
-
"""
|
|
2025
|
-
...
|
|
2026
|
-
|
|
2027
|
-
def path_from_id(self) -> str:
|
|
2028
|
-
"""Returns the data path from the ID to this object (string).
|
|
2029
|
-
|
|
2030
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2031
|
-
to this struct and property (when given).
|
|
2032
|
-
:rtype: str
|
|
2033
|
-
"""
|
|
2034
|
-
...
|
|
2035
|
-
|
|
2036
|
-
def path_resolve(self):
|
|
2037
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2038
|
-
...
|
|
2039
|
-
|
|
2040
|
-
def poll(self, context):
|
|
2041
|
-
"""
|
|
2042
|
-
|
|
2043
|
-
:param context:
|
|
2044
|
-
"""
|
|
2045
|
-
...
|
|
2046
|
-
|
|
2047
|
-
def pop(self):
|
|
2048
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2049
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2050
|
-
|
|
2051
|
-
"""
|
|
2052
|
-
...
|
|
2053
|
-
|
|
2054
|
-
def prepend(self, draw_func):
|
|
2055
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2056
|
-
the menus draw function
|
|
2057
|
-
|
|
2058
|
-
:param draw_func:
|
|
2059
|
-
"""
|
|
2060
|
-
...
|
|
2061
|
-
|
|
2062
|
-
def property_overridable_library_set(self) -> bool:
|
|
2063
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2064
|
-
|
|
2065
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2066
|
-
:rtype: bool
|
|
2067
|
-
"""
|
|
2068
|
-
...
|
|
2069
|
-
|
|
2070
|
-
def property_unset(self):
|
|
2071
|
-
"""Unset a property, will use default value afterward."""
|
|
2072
|
-
...
|
|
2073
|
-
|
|
2074
|
-
def remove(self, draw_func):
|
|
2075
|
-
"""Remove a draw function that has been added to this menu
|
|
2076
|
-
|
|
2077
|
-
:param draw_func:
|
|
2078
|
-
"""
|
|
2079
|
-
...
|
|
2080
|
-
|
|
2081
|
-
def type_recast(self):
|
|
2082
|
-
"""Return a new instance, this is needed because types
|
|
2083
|
-
such as textures can be changed at runtime.
|
|
2084
|
-
|
|
2085
|
-
:return: a new instance of this object with the type initialized again.
|
|
2086
|
-
"""
|
|
2087
|
-
...
|
|
2088
|
-
|
|
2089
|
-
def values(self):
|
|
2090
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2091
|
-
dictionary function of the same name).
|
|
2092
|
-
|
|
2093
|
-
:return: custom property values.
|
|
2094
|
-
"""
|
|
2095
|
-
...
|
|
2096
|
-
|
|
2097
|
-
class BONE_PT_transform(BoneButtonsPanel, bpy_types._GenericUI):
|
|
2098
|
-
bl_context: typing.Any
|
|
2099
|
-
bl_label: typing.Any
|
|
2100
|
-
bl_region_type: typing.Any
|
|
2101
|
-
bl_rna: typing.Any
|
|
2102
|
-
bl_space_type: typing.Any
|
|
2103
|
-
id_data: typing.Any
|
|
2104
|
-
|
|
2105
|
-
def append(self, draw_func):
|
|
2106
|
-
"""Append a draw function to this menu,
|
|
2107
|
-
takes the same arguments as the menus draw function
|
|
2108
|
-
|
|
2109
|
-
:param draw_func:
|
|
2110
|
-
"""
|
|
2111
|
-
...
|
|
2112
|
-
|
|
2113
|
-
def as_pointer(self) -> int:
|
|
2114
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2115
|
-
|
|
2116
|
-
:return: int (memory address).
|
|
2117
|
-
:rtype: int
|
|
2118
|
-
"""
|
|
2119
|
-
...
|
|
2120
|
-
|
|
2121
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2122
|
-
"""
|
|
2123
|
-
|
|
2124
|
-
:return: The RNA type or default when not found.
|
|
2125
|
-
:rtype: bpy.types.Struct
|
|
2126
|
-
"""
|
|
2127
|
-
...
|
|
2128
|
-
|
|
2129
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2130
|
-
"""
|
|
2131
|
-
|
|
2132
|
-
:return: The class or default when not found.
|
|
2133
|
-
:rtype: typing.Any
|
|
2134
|
-
"""
|
|
2135
|
-
...
|
|
2136
|
-
|
|
2137
|
-
def draw(self, context):
|
|
2138
|
-
"""
|
|
2139
|
-
|
|
2140
|
-
:param context:
|
|
2141
|
-
"""
|
|
2142
|
-
...
|
|
2143
|
-
|
|
2144
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2145
|
-
"""Adds driver(s) to the given property
|
|
2146
|
-
|
|
2147
|
-
:return: The driver(s) added.
|
|
2148
|
-
:rtype: bpy.types.FCurve
|
|
2149
|
-
"""
|
|
2150
|
-
...
|
|
2151
|
-
|
|
2152
|
-
def driver_remove(self) -> bool:
|
|
2153
|
-
"""Remove driver(s) from the given property
|
|
2154
|
-
|
|
2155
|
-
:return: Success of driver removal.
|
|
2156
|
-
:rtype: bool
|
|
2157
|
-
"""
|
|
2158
|
-
...
|
|
2159
|
-
|
|
2160
|
-
def get(self):
|
|
2161
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2162
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2163
|
-
|
|
2164
|
-
"""
|
|
2165
|
-
...
|
|
2166
|
-
|
|
2167
|
-
def id_properties_clear(self):
|
|
2168
|
-
"""
|
|
2169
|
-
|
|
2170
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2171
|
-
"""
|
|
2172
|
-
...
|
|
2173
|
-
|
|
2174
|
-
def id_properties_ensure(self):
|
|
2175
|
-
"""
|
|
2176
|
-
|
|
2177
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2178
|
-
"""
|
|
2179
|
-
...
|
|
2180
|
-
|
|
2181
|
-
def id_properties_ui(self):
|
|
2182
|
-
"""
|
|
2183
|
-
|
|
2184
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2185
|
-
"""
|
|
2186
|
-
...
|
|
2187
|
-
|
|
2188
|
-
def is_extended(self): ...
|
|
2189
|
-
def is_property_hidden(self) -> bool:
|
|
2190
|
-
"""Check if a property is hidden.
|
|
2191
|
-
|
|
2192
|
-
:return: True when the property is hidden.
|
|
2193
|
-
:rtype: bool
|
|
2194
|
-
"""
|
|
2195
|
-
...
|
|
2196
|
-
|
|
2197
|
-
def is_property_overridable_library(self) -> bool:
|
|
2198
|
-
"""Check if a property is overridable.
|
|
2199
|
-
|
|
2200
|
-
:return: True when the property is overridable.
|
|
2201
|
-
:rtype: bool
|
|
2202
|
-
"""
|
|
2203
|
-
...
|
|
2204
|
-
|
|
2205
|
-
def is_property_readonly(self) -> bool:
|
|
2206
|
-
"""Check if a property is readonly.
|
|
2207
|
-
|
|
2208
|
-
:return: True when the property is readonly (not writable).
|
|
2209
|
-
:rtype: bool
|
|
2210
|
-
"""
|
|
2211
|
-
...
|
|
2212
|
-
|
|
2213
|
-
def is_property_set(self) -> bool:
|
|
2214
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2215
|
-
|
|
2216
|
-
:return: True when the property has been set.
|
|
2217
|
-
:rtype: bool
|
|
2218
|
-
"""
|
|
2219
|
-
...
|
|
2220
|
-
|
|
2221
|
-
def items(self):
|
|
2222
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2223
|
-
dictionary function of the same name).
|
|
2224
|
-
|
|
2225
|
-
:return: custom property key, value pairs.
|
|
2226
|
-
"""
|
|
2227
|
-
...
|
|
2228
|
-
|
|
2229
|
-
def keyframe_delete(self) -> bool:
|
|
2230
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2231
|
-
|
|
2232
|
-
:return: Success of keyframe deletion.
|
|
2233
|
-
:rtype: bool
|
|
2234
|
-
"""
|
|
2235
|
-
...
|
|
2236
|
-
|
|
2237
|
-
def keyframe_insert(self) -> bool:
|
|
2238
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2239
|
-
|
|
2240
|
-
:return: Success of keyframe insertion.
|
|
2241
|
-
:rtype: bool
|
|
2242
|
-
"""
|
|
2243
|
-
...
|
|
2244
|
-
|
|
2245
|
-
def keys(self):
|
|
2246
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2247
|
-
dictionary function of the same name).
|
|
2248
|
-
|
|
2249
|
-
:return: custom property keys.
|
|
2250
|
-
"""
|
|
2251
|
-
...
|
|
2252
|
-
|
|
2253
|
-
def path_from_id(self) -> str:
|
|
2254
|
-
"""Returns the data path from the ID to this object (string).
|
|
2255
|
-
|
|
2256
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2257
|
-
to this struct and property (when given).
|
|
2258
|
-
:rtype: str
|
|
2259
|
-
"""
|
|
2260
|
-
...
|
|
2261
|
-
|
|
2262
|
-
def path_resolve(self):
|
|
2263
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2264
|
-
...
|
|
2265
|
-
|
|
2266
|
-
@classmethod
|
|
2267
|
-
def poll(cls, context):
|
|
405
|
+
@classmethod
|
|
406
|
+
def poll(cls, context):
|
|
2268
407
|
"""
|
|
2269
408
|
|
|
2270
409
|
:param context:
|
|
2271
410
|
"""
|
|
2272
411
|
...
|
|
2273
412
|
|
|
2274
|
-
def pop(self):
|
|
2275
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2276
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2277
|
-
|
|
2278
|
-
"""
|
|
2279
|
-
...
|
|
2280
|
-
|
|
2281
|
-
def prepend(self, draw_func):
|
|
2282
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2283
|
-
the menus draw function
|
|
2284
|
-
|
|
2285
|
-
:param draw_func:
|
|
2286
|
-
"""
|
|
2287
|
-
...
|
|
2288
|
-
|
|
2289
|
-
def property_overridable_library_set(self) -> bool:
|
|
2290
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2291
|
-
|
|
2292
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2293
|
-
:rtype: bool
|
|
2294
|
-
"""
|
|
2295
|
-
...
|
|
2296
|
-
|
|
2297
|
-
def property_unset(self):
|
|
2298
|
-
"""Unset a property, will use default value afterward."""
|
|
2299
|
-
...
|
|
2300
|
-
|
|
2301
|
-
def remove(self, draw_func):
|
|
2302
|
-
"""Remove a draw function that has been added to this menu
|
|
2303
|
-
|
|
2304
|
-
:param draw_func:
|
|
2305
|
-
"""
|
|
2306
|
-
...
|
|
2307
|
-
|
|
2308
|
-
def type_recast(self):
|
|
2309
|
-
"""Return a new instance, this is needed because types
|
|
2310
|
-
such as textures can be changed at runtime.
|
|
2311
|
-
|
|
2312
|
-
:return: a new instance of this object with the type initialized again.
|
|
2313
|
-
"""
|
|
2314
|
-
...
|
|
2315
|
-
|
|
2316
|
-
def values(self):
|
|
2317
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2318
|
-
dictionary function of the same name).
|
|
2319
|
-
|
|
2320
|
-
:return: custom property values.
|
|
2321
|
-
"""
|
|
2322
|
-
...
|
|
2323
|
-
|
|
2324
413
|
class BoneButtonsPanel:
|
|
2325
414
|
bl_context: typing.Any
|
|
2326
415
|
bl_region_type: typing.Any
|