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