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
|
@@ -8,7 +8,9 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class DATA_PT_context_pointcloud(
|
|
11
|
+
class DATA_PT_context_pointcloud(
|
|
12
|
+
bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
|
|
13
|
+
):
|
|
12
14
|
COMPAT_ENGINES: typing.Any
|
|
13
15
|
bl_context: typing.Any
|
|
14
16
|
bl_label: typing.Any
|
|
@@ -18,22 +20,6 @@ class DATA_PT_context_pointcloud(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
18
20
|
bl_space_type: typing.Any
|
|
19
21
|
id_data: typing.Any
|
|
20
22
|
|
|
21
|
-
def append(self, draw_func):
|
|
22
|
-
"""Append a draw function to this menu,
|
|
23
|
-
takes the same arguments as the menus draw function
|
|
24
|
-
|
|
25
|
-
:param draw_func:
|
|
26
|
-
"""
|
|
27
|
-
...
|
|
28
|
-
|
|
29
|
-
def as_pointer(self) -> int:
|
|
30
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
31
|
-
|
|
32
|
-
:return: int (memory address).
|
|
33
|
-
:rtype: int
|
|
34
|
-
"""
|
|
35
|
-
...
|
|
36
|
-
|
|
37
23
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
38
24
|
"""
|
|
39
25
|
|
|
@@ -57,187 +43,8 @@ class DATA_PT_context_pointcloud(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
57
43
|
"""
|
|
58
44
|
...
|
|
59
45
|
|
|
60
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
61
|
-
"""Adds driver(s) to the given property
|
|
62
|
-
|
|
63
|
-
:return: The driver(s) added.
|
|
64
|
-
:rtype: bpy.types.FCurve
|
|
65
|
-
"""
|
|
66
|
-
...
|
|
67
|
-
|
|
68
|
-
def driver_remove(self) -> bool:
|
|
69
|
-
"""Remove driver(s) from the given property
|
|
70
|
-
|
|
71
|
-
:return: Success of driver removal.
|
|
72
|
-
:rtype: bool
|
|
73
|
-
"""
|
|
74
|
-
...
|
|
75
|
-
|
|
76
|
-
def get(self):
|
|
77
|
-
"""Returns the value of the custom property assigned to key or default
|
|
78
|
-
when not found (matches Python's dictionary function of the same name).
|
|
79
|
-
|
|
80
|
-
"""
|
|
81
|
-
...
|
|
82
|
-
|
|
83
|
-
def id_properties_clear(self):
|
|
84
|
-
"""
|
|
85
|
-
|
|
86
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
87
|
-
"""
|
|
88
|
-
...
|
|
89
|
-
|
|
90
|
-
def id_properties_ensure(self):
|
|
91
|
-
"""
|
|
92
|
-
|
|
93
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
94
|
-
"""
|
|
95
|
-
...
|
|
96
|
-
|
|
97
|
-
def id_properties_ui(self):
|
|
98
|
-
"""
|
|
99
|
-
|
|
100
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
101
|
-
"""
|
|
102
|
-
...
|
|
103
|
-
|
|
104
|
-
def is_extended(self): ...
|
|
105
|
-
def is_property_hidden(self) -> bool:
|
|
106
|
-
"""Check if a property is hidden.
|
|
107
|
-
|
|
108
|
-
:return: True when the property is hidden.
|
|
109
|
-
:rtype: bool
|
|
110
|
-
"""
|
|
111
|
-
...
|
|
112
|
-
|
|
113
|
-
def is_property_overridable_library(self) -> bool:
|
|
114
|
-
"""Check if a property is overridable.
|
|
115
|
-
|
|
116
|
-
:return: True when the property is overridable.
|
|
117
|
-
:rtype: bool
|
|
118
|
-
"""
|
|
119
|
-
...
|
|
120
|
-
|
|
121
|
-
def is_property_readonly(self) -> bool:
|
|
122
|
-
"""Check if a property is readonly.
|
|
123
|
-
|
|
124
|
-
:return: True when the property is readonly (not writable).
|
|
125
|
-
:rtype: bool
|
|
126
|
-
"""
|
|
127
|
-
...
|
|
128
|
-
|
|
129
|
-
def is_property_set(self) -> bool:
|
|
130
|
-
"""Check if a property is set, use for testing operator properties.
|
|
131
|
-
|
|
132
|
-
:return: True when the property has been set.
|
|
133
|
-
:rtype: bool
|
|
134
|
-
"""
|
|
135
|
-
...
|
|
136
|
-
|
|
137
|
-
def items(self):
|
|
138
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
139
|
-
dictionary function of the same name).
|
|
140
|
-
|
|
141
|
-
:return: custom property key, value pairs.
|
|
142
|
-
"""
|
|
143
|
-
...
|
|
144
|
-
|
|
145
|
-
def keyframe_delete(self) -> bool:
|
|
146
|
-
"""Remove a keyframe from this properties fcurve.
|
|
147
|
-
|
|
148
|
-
:return: Success of keyframe deletion.
|
|
149
|
-
:rtype: bool
|
|
150
|
-
"""
|
|
151
|
-
...
|
|
152
|
-
|
|
153
|
-
def keyframe_insert(self) -> bool:
|
|
154
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
155
|
-
|
|
156
|
-
:return: Success of keyframe insertion.
|
|
157
|
-
:rtype: bool
|
|
158
|
-
"""
|
|
159
|
-
...
|
|
160
|
-
|
|
161
|
-
def keys(self):
|
|
162
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
163
|
-
dictionary function of the same name).
|
|
164
|
-
|
|
165
|
-
:return: custom property keys.
|
|
166
|
-
"""
|
|
167
|
-
...
|
|
168
|
-
|
|
169
|
-
def path_from_id(self) -> str:
|
|
170
|
-
"""Returns the data path from the ID to this object (string).
|
|
171
|
-
|
|
172
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
173
|
-
to this struct and property (when given).
|
|
174
|
-
:rtype: str
|
|
175
|
-
"""
|
|
176
|
-
...
|
|
177
|
-
|
|
178
|
-
def path_resolve(self):
|
|
179
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
180
|
-
...
|
|
181
|
-
|
|
182
|
-
def poll(self, context):
|
|
183
|
-
"""
|
|
184
|
-
|
|
185
|
-
:param context:
|
|
186
|
-
"""
|
|
187
|
-
...
|
|
188
|
-
|
|
189
|
-
def pop(self):
|
|
190
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
191
|
-
when not found (matches Python's dictionary function of the same name).
|
|
192
|
-
|
|
193
|
-
"""
|
|
194
|
-
...
|
|
195
|
-
|
|
196
|
-
def prepend(self, draw_func):
|
|
197
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
198
|
-
the menus draw function
|
|
199
|
-
|
|
200
|
-
:param draw_func:
|
|
201
|
-
"""
|
|
202
|
-
...
|
|
203
|
-
|
|
204
|
-
def property_overridable_library_set(self) -> bool:
|
|
205
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
206
|
-
|
|
207
|
-
:return: True when the overridable status of the property was successfully set.
|
|
208
|
-
:rtype: bool
|
|
209
|
-
"""
|
|
210
|
-
...
|
|
211
|
-
|
|
212
|
-
def property_unset(self):
|
|
213
|
-
"""Unset a property, will use default value afterward."""
|
|
214
|
-
...
|
|
215
|
-
|
|
216
|
-
def remove(self, draw_func):
|
|
217
|
-
"""Remove a draw function that has been added to this menu
|
|
218
|
-
|
|
219
|
-
:param draw_func:
|
|
220
|
-
"""
|
|
221
|
-
...
|
|
222
|
-
|
|
223
|
-
def type_recast(self):
|
|
224
|
-
"""Return a new instance, this is needed because types
|
|
225
|
-
such as textures can be changed at runtime.
|
|
226
|
-
|
|
227
|
-
:return: a new instance of this object with the type initialized again.
|
|
228
|
-
"""
|
|
229
|
-
...
|
|
230
|
-
|
|
231
|
-
def values(self):
|
|
232
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
233
|
-
dictionary function of the same name).
|
|
234
|
-
|
|
235
|
-
:return: custom property values.
|
|
236
|
-
"""
|
|
237
|
-
...
|
|
238
|
-
|
|
239
46
|
class DATA_PT_custom_props_pointcloud(
|
|
240
|
-
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
47
|
+
bpy.types.Panel, DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
241
48
|
):
|
|
242
49
|
"""The subclass should have its own poll function
|
|
243
50
|
and the variable '_context_path' MUST be set.
|
|
@@ -253,22 +60,6 @@ class DATA_PT_custom_props_pointcloud(
|
|
|
253
60
|
bl_space_type: typing.Any
|
|
254
61
|
id_data: typing.Any
|
|
255
62
|
|
|
256
|
-
def append(self, draw_func):
|
|
257
|
-
"""Append a draw function to this menu,
|
|
258
|
-
takes the same arguments as the menus draw function
|
|
259
|
-
|
|
260
|
-
:param draw_func:
|
|
261
|
-
"""
|
|
262
|
-
...
|
|
263
|
-
|
|
264
|
-
def as_pointer(self) -> int:
|
|
265
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
266
|
-
|
|
267
|
-
:return: int (memory address).
|
|
268
|
-
:rtype: int
|
|
269
|
-
"""
|
|
270
|
-
...
|
|
271
|
-
|
|
272
63
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
273
64
|
"""
|
|
274
65
|
|
|
@@ -285,217 +76,97 @@ class DATA_PT_custom_props_pointcloud(
|
|
|
285
76
|
"""
|
|
286
77
|
...
|
|
287
78
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
:return: The driver(s) added.
|
|
299
|
-
:rtype: bpy.types.FCurve
|
|
300
|
-
"""
|
|
301
|
-
...
|
|
302
|
-
|
|
303
|
-
def driver_remove(self) -> bool:
|
|
304
|
-
"""Remove driver(s) from the given property
|
|
305
|
-
|
|
306
|
-
:return: Success of driver removal.
|
|
307
|
-
:rtype: bool
|
|
308
|
-
"""
|
|
309
|
-
...
|
|
310
|
-
|
|
311
|
-
def get(self):
|
|
312
|
-
"""Returns the value of the custom property assigned to key or default
|
|
313
|
-
when not found (matches Python's dictionary function of the same name).
|
|
314
|
-
|
|
315
|
-
"""
|
|
316
|
-
...
|
|
79
|
+
class DATA_PT_pointcloud_attributes(
|
|
80
|
+
bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
|
|
81
|
+
):
|
|
82
|
+
COMPAT_ENGINES: typing.Any
|
|
83
|
+
bl_context: typing.Any
|
|
84
|
+
bl_label: typing.Any
|
|
85
|
+
bl_region_type: typing.Any
|
|
86
|
+
bl_rna: typing.Any
|
|
87
|
+
bl_space_type: typing.Any
|
|
88
|
+
id_data: typing.Any
|
|
317
89
|
|
|
318
|
-
def
|
|
90
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
319
91
|
"""
|
|
320
92
|
|
|
321
|
-
:return:
|
|
93
|
+
:return: The RNA type or default when not found.
|
|
94
|
+
:rtype: bpy.types.Struct
|
|
322
95
|
"""
|
|
323
96
|
...
|
|
324
97
|
|
|
325
|
-
def
|
|
98
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
326
99
|
"""
|
|
327
100
|
|
|
328
|
-
:return:
|
|
101
|
+
:return: The class or default when not found.
|
|
102
|
+
:rtype: typing.Any
|
|
329
103
|
"""
|
|
330
104
|
...
|
|
331
105
|
|
|
332
|
-
def
|
|
333
|
-
"""
|
|
334
|
-
|
|
335
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
106
|
+
def draw(self, context):
|
|
336
107
|
"""
|
|
337
|
-
...
|
|
338
108
|
|
|
339
|
-
|
|
340
|
-
def is_property_hidden(self) -> bool:
|
|
341
|
-
"""Check if a property is hidden.
|
|
342
|
-
|
|
343
|
-
:return: True when the property is hidden.
|
|
344
|
-
:rtype: bool
|
|
109
|
+
:param context:
|
|
345
110
|
"""
|
|
346
111
|
...
|
|
347
112
|
|
|
348
|
-
|
|
349
|
-
|
|
113
|
+
class DataButtonsPanel:
|
|
114
|
+
bl_context: typing.Any
|
|
115
|
+
bl_region_type: typing.Any
|
|
116
|
+
bl_space_type: typing.Any
|
|
350
117
|
|
|
351
|
-
|
|
352
|
-
|
|
118
|
+
@classmethod
|
|
119
|
+
def poll(cls, context):
|
|
353
120
|
"""
|
|
354
|
-
...
|
|
355
|
-
|
|
356
|
-
def is_property_readonly(self) -> bool:
|
|
357
|
-
"""Check if a property is readonly.
|
|
358
121
|
|
|
359
|
-
:
|
|
360
|
-
:rtype: bool
|
|
122
|
+
:param context:
|
|
361
123
|
"""
|
|
362
124
|
...
|
|
363
125
|
|
|
364
|
-
|
|
365
|
-
|
|
126
|
+
class POINTCLOUD_MT_add_attribute(bpy.types.Menu, bpy_types._GenericUI):
|
|
127
|
+
bl_label: typing.Any
|
|
128
|
+
bl_rna: typing.Any
|
|
129
|
+
id_data: typing.Any
|
|
366
130
|
|
|
367
|
-
|
|
368
|
-
|
|
131
|
+
@staticmethod
|
|
132
|
+
def add_standard_attribute(layout, pointcloud, name, data_type, domain):
|
|
369
133
|
"""
|
|
370
|
-
...
|
|
371
|
-
|
|
372
|
-
def items(self):
|
|
373
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
374
|
-
dictionary function of the same name).
|
|
375
134
|
|
|
376
|
-
|
|
135
|
+
:param layout:
|
|
136
|
+
:param pointcloud:
|
|
137
|
+
:param name:
|
|
138
|
+
:param data_type:
|
|
139
|
+
:param domain:
|
|
377
140
|
"""
|
|
378
141
|
...
|
|
379
142
|
|
|
380
|
-
def
|
|
381
|
-
"""Remove a keyframe from this properties fcurve.
|
|
382
|
-
|
|
383
|
-
:return: Success of keyframe deletion.
|
|
384
|
-
:rtype: bool
|
|
143
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
385
144
|
"""
|
|
386
|
-
...
|
|
387
145
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
:return: Success of keyframe insertion.
|
|
392
|
-
:rtype: bool
|
|
146
|
+
:return: The RNA type or default when not found.
|
|
147
|
+
:rtype: bpy.types.Struct
|
|
393
148
|
"""
|
|
394
149
|
...
|
|
395
150
|
|
|
396
|
-
def
|
|
397
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
398
|
-
dictionary function of the same name).
|
|
399
|
-
|
|
400
|
-
:return: custom property keys.
|
|
151
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
401
152
|
"""
|
|
402
|
-
...
|
|
403
153
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
408
|
-
to this struct and property (when given).
|
|
409
|
-
:rtype: str
|
|
154
|
+
:return: The class or default when not found.
|
|
155
|
+
:rtype: typing.Any
|
|
410
156
|
"""
|
|
411
157
|
...
|
|
412
158
|
|
|
413
|
-
def
|
|
414
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
415
|
-
...
|
|
416
|
-
|
|
417
|
-
def poll(self, context):
|
|
159
|
+
def draw(self, context):
|
|
418
160
|
"""
|
|
419
161
|
|
|
420
162
|
:param context:
|
|
421
163
|
"""
|
|
422
164
|
...
|
|
423
165
|
|
|
424
|
-
|
|
425
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
426
|
-
when not found (matches Python's dictionary function of the same name).
|
|
427
|
-
|
|
428
|
-
"""
|
|
429
|
-
...
|
|
430
|
-
|
|
431
|
-
def prepend(self, draw_func):
|
|
432
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
433
|
-
the menus draw function
|
|
434
|
-
|
|
435
|
-
:param draw_func:
|
|
436
|
-
"""
|
|
437
|
-
...
|
|
438
|
-
|
|
439
|
-
def property_overridable_library_set(self) -> bool:
|
|
440
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
441
|
-
|
|
442
|
-
:return: True when the overridable status of the property was successfully set.
|
|
443
|
-
:rtype: bool
|
|
444
|
-
"""
|
|
445
|
-
...
|
|
446
|
-
|
|
447
|
-
def property_unset(self):
|
|
448
|
-
"""Unset a property, will use default value afterward."""
|
|
449
|
-
...
|
|
450
|
-
|
|
451
|
-
def remove(self, draw_func):
|
|
452
|
-
"""Remove a draw function that has been added to this menu
|
|
453
|
-
|
|
454
|
-
:param draw_func:
|
|
455
|
-
"""
|
|
456
|
-
...
|
|
457
|
-
|
|
458
|
-
def type_recast(self):
|
|
459
|
-
"""Return a new instance, this is needed because types
|
|
460
|
-
such as textures can be changed at runtime.
|
|
461
|
-
|
|
462
|
-
:return: a new instance of this object with the type initialized again.
|
|
463
|
-
"""
|
|
464
|
-
...
|
|
465
|
-
|
|
466
|
-
def values(self):
|
|
467
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
468
|
-
dictionary function of the same name).
|
|
469
|
-
|
|
470
|
-
:return: custom property values.
|
|
471
|
-
"""
|
|
472
|
-
...
|
|
473
|
-
|
|
474
|
-
class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
475
|
-
COMPAT_ENGINES: typing.Any
|
|
476
|
-
bl_context: typing.Any
|
|
477
|
-
bl_label: typing.Any
|
|
478
|
-
bl_region_type: typing.Any
|
|
166
|
+
class POINTCLOUD_UL_attributes(bpy.types.UIList, bpy_types._GenericUI):
|
|
479
167
|
bl_rna: typing.Any
|
|
480
|
-
bl_space_type: typing.Any
|
|
481
168
|
id_data: typing.Any
|
|
482
169
|
|
|
483
|
-
def append(self, draw_func):
|
|
484
|
-
"""Append a draw function to this menu,
|
|
485
|
-
takes the same arguments as the menus draw function
|
|
486
|
-
|
|
487
|
-
:param draw_func:
|
|
488
|
-
"""
|
|
489
|
-
...
|
|
490
|
-
|
|
491
|
-
def as_pointer(self) -> int:
|
|
492
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
493
|
-
|
|
494
|
-
:return: int (memory address).
|
|
495
|
-
:rtype: int
|
|
496
|
-
"""
|
|
497
|
-
...
|
|
498
|
-
|
|
499
170
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
500
171
|
"""
|
|
501
172
|
|
|
@@ -512,565 +183,31 @@ class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
512
183
|
"""
|
|
513
184
|
...
|
|
514
185
|
|
|
515
|
-
def
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
186
|
+
def draw_item(
|
|
187
|
+
self,
|
|
188
|
+
_context,
|
|
189
|
+
layout,
|
|
190
|
+
_data,
|
|
191
|
+
attribute,
|
|
192
|
+
_icon,
|
|
193
|
+
_active_data,
|
|
194
|
+
_active_propname,
|
|
195
|
+
_index,
|
|
196
|
+
):
|
|
519
197
|
"""
|
|
520
|
-
...
|
|
521
|
-
|
|
522
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
523
|
-
"""Adds driver(s) to the given property
|
|
524
198
|
|
|
525
|
-
:
|
|
526
|
-
:
|
|
199
|
+
:param _context:
|
|
200
|
+
:param layout:
|
|
201
|
+
:param _data:
|
|
202
|
+
:param attribute:
|
|
203
|
+
:param _icon:
|
|
204
|
+
:param _active_data:
|
|
205
|
+
:param _active_propname:
|
|
206
|
+
:param _index:
|
|
527
207
|
"""
|
|
528
208
|
...
|
|
529
209
|
|
|
530
|
-
def
|
|
531
|
-
"""Remove driver(s) from the given property
|
|
532
|
-
|
|
533
|
-
:return: Success of driver removal.
|
|
534
|
-
:rtype: bool
|
|
535
|
-
"""
|
|
536
|
-
...
|
|
537
|
-
|
|
538
|
-
def get(self):
|
|
539
|
-
"""Returns the value of the custom property assigned to key or default
|
|
540
|
-
when not found (matches Python's dictionary function of the same name).
|
|
541
|
-
|
|
542
|
-
"""
|
|
543
|
-
...
|
|
544
|
-
|
|
545
|
-
def id_properties_clear(self):
|
|
546
|
-
"""
|
|
547
|
-
|
|
548
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
549
|
-
"""
|
|
550
|
-
...
|
|
551
|
-
|
|
552
|
-
def id_properties_ensure(self):
|
|
553
|
-
"""
|
|
554
|
-
|
|
555
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
556
|
-
"""
|
|
557
|
-
...
|
|
558
|
-
|
|
559
|
-
def id_properties_ui(self):
|
|
560
|
-
"""
|
|
561
|
-
|
|
562
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
563
|
-
"""
|
|
564
|
-
...
|
|
565
|
-
|
|
566
|
-
def is_extended(self): ...
|
|
567
|
-
def is_property_hidden(self) -> bool:
|
|
568
|
-
"""Check if a property is hidden.
|
|
569
|
-
|
|
570
|
-
:return: True when the property is hidden.
|
|
571
|
-
:rtype: bool
|
|
572
|
-
"""
|
|
573
|
-
...
|
|
574
|
-
|
|
575
|
-
def is_property_overridable_library(self) -> bool:
|
|
576
|
-
"""Check if a property is overridable.
|
|
577
|
-
|
|
578
|
-
:return: True when the property is overridable.
|
|
579
|
-
:rtype: bool
|
|
580
|
-
"""
|
|
581
|
-
...
|
|
582
|
-
|
|
583
|
-
def is_property_readonly(self) -> bool:
|
|
584
|
-
"""Check if a property is readonly.
|
|
585
|
-
|
|
586
|
-
:return: True when the property is readonly (not writable).
|
|
587
|
-
:rtype: bool
|
|
588
|
-
"""
|
|
589
|
-
...
|
|
590
|
-
|
|
591
|
-
def is_property_set(self) -> bool:
|
|
592
|
-
"""Check if a property is set, use for testing operator properties.
|
|
593
|
-
|
|
594
|
-
:return: True when the property has been set.
|
|
595
|
-
:rtype: bool
|
|
596
|
-
"""
|
|
597
|
-
...
|
|
598
|
-
|
|
599
|
-
def items(self):
|
|
600
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
601
|
-
dictionary function of the same name).
|
|
602
|
-
|
|
603
|
-
:return: custom property key, value pairs.
|
|
604
|
-
"""
|
|
605
|
-
...
|
|
606
|
-
|
|
607
|
-
def keyframe_delete(self) -> bool:
|
|
608
|
-
"""Remove a keyframe from this properties fcurve.
|
|
609
|
-
|
|
610
|
-
:return: Success of keyframe deletion.
|
|
611
|
-
:rtype: bool
|
|
612
|
-
"""
|
|
613
|
-
...
|
|
614
|
-
|
|
615
|
-
def keyframe_insert(self) -> bool:
|
|
616
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
617
|
-
|
|
618
|
-
:return: Success of keyframe insertion.
|
|
619
|
-
:rtype: bool
|
|
620
|
-
"""
|
|
621
|
-
...
|
|
622
|
-
|
|
623
|
-
def keys(self):
|
|
624
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
625
|
-
dictionary function of the same name).
|
|
626
|
-
|
|
627
|
-
:return: custom property keys.
|
|
628
|
-
"""
|
|
629
|
-
...
|
|
630
|
-
|
|
631
|
-
def path_from_id(self) -> str:
|
|
632
|
-
"""Returns the data path from the ID to this object (string).
|
|
633
|
-
|
|
634
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
635
|
-
to this struct and property (when given).
|
|
636
|
-
:rtype: str
|
|
637
|
-
"""
|
|
638
|
-
...
|
|
639
|
-
|
|
640
|
-
def path_resolve(self):
|
|
641
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
642
|
-
...
|
|
643
|
-
|
|
644
|
-
def poll(self, context):
|
|
645
|
-
"""
|
|
646
|
-
|
|
647
|
-
:param context:
|
|
648
|
-
"""
|
|
649
|
-
...
|
|
650
|
-
|
|
651
|
-
def pop(self):
|
|
652
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
653
|
-
when not found (matches Python's dictionary function of the same name).
|
|
654
|
-
|
|
655
|
-
"""
|
|
656
|
-
...
|
|
657
|
-
|
|
658
|
-
def prepend(self, draw_func):
|
|
659
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
660
|
-
the menus draw function
|
|
661
|
-
|
|
662
|
-
:param draw_func:
|
|
663
|
-
"""
|
|
664
|
-
...
|
|
665
|
-
|
|
666
|
-
def property_overridable_library_set(self) -> bool:
|
|
667
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
668
|
-
|
|
669
|
-
:return: True when the overridable status of the property was successfully set.
|
|
670
|
-
:rtype: bool
|
|
671
|
-
"""
|
|
672
|
-
...
|
|
673
|
-
|
|
674
|
-
def property_unset(self):
|
|
675
|
-
"""Unset a property, will use default value afterward."""
|
|
676
|
-
...
|
|
677
|
-
|
|
678
|
-
def remove(self, draw_func):
|
|
679
|
-
"""Remove a draw function that has been added to this menu
|
|
680
|
-
|
|
681
|
-
:param draw_func:
|
|
682
|
-
"""
|
|
683
|
-
...
|
|
684
|
-
|
|
685
|
-
def type_recast(self):
|
|
686
|
-
"""Return a new instance, this is needed because types
|
|
687
|
-
such as textures can be changed at runtime.
|
|
688
|
-
|
|
689
|
-
:return: a new instance of this object with the type initialized again.
|
|
690
|
-
"""
|
|
691
|
-
...
|
|
692
|
-
|
|
693
|
-
def values(self):
|
|
694
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
695
|
-
dictionary function of the same name).
|
|
696
|
-
|
|
697
|
-
:return: custom property values.
|
|
698
|
-
"""
|
|
699
|
-
...
|
|
700
|
-
|
|
701
|
-
class DataButtonsPanel:
|
|
702
|
-
bl_context: typing.Any
|
|
703
|
-
bl_region_type: typing.Any
|
|
704
|
-
bl_space_type: typing.Any
|
|
705
|
-
|
|
706
|
-
@classmethod
|
|
707
|
-
def poll(cls, context):
|
|
708
|
-
"""
|
|
709
|
-
|
|
710
|
-
:param context:
|
|
711
|
-
"""
|
|
712
|
-
...
|
|
713
|
-
|
|
714
|
-
class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
715
|
-
bl_label: typing.Any
|
|
716
|
-
bl_rna: typing.Any
|
|
717
|
-
id_data: typing.Any
|
|
718
|
-
|
|
719
|
-
@staticmethod
|
|
720
|
-
def add_standard_attribute(layout, pointcloud, name, data_type, domain):
|
|
721
|
-
"""
|
|
722
|
-
|
|
723
|
-
:param layout:
|
|
724
|
-
:param pointcloud:
|
|
725
|
-
:param name:
|
|
726
|
-
:param data_type:
|
|
727
|
-
:param domain:
|
|
728
|
-
"""
|
|
729
|
-
...
|
|
730
|
-
|
|
731
|
-
def append(self, draw_func):
|
|
732
|
-
"""Append a draw function to this menu,
|
|
733
|
-
takes the same arguments as the menus draw function
|
|
734
|
-
|
|
735
|
-
:param draw_func:
|
|
736
|
-
"""
|
|
737
|
-
...
|
|
738
|
-
|
|
739
|
-
def as_pointer(self) -> int:
|
|
740
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
741
|
-
|
|
742
|
-
:return: int (memory address).
|
|
743
|
-
:rtype: int
|
|
744
|
-
"""
|
|
745
|
-
...
|
|
746
|
-
|
|
747
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
748
|
-
"""
|
|
749
|
-
|
|
750
|
-
:return: The RNA type or default when not found.
|
|
751
|
-
:rtype: bpy.types.Struct
|
|
752
|
-
"""
|
|
753
|
-
...
|
|
754
|
-
|
|
755
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
756
|
-
"""
|
|
757
|
-
|
|
758
|
-
:return: The class or default when not found.
|
|
759
|
-
:rtype: typing.Any
|
|
760
|
-
"""
|
|
761
|
-
...
|
|
762
|
-
|
|
763
|
-
def draw(self, context):
|
|
764
|
-
"""
|
|
765
|
-
|
|
766
|
-
:param context:
|
|
767
|
-
"""
|
|
768
|
-
...
|
|
769
|
-
|
|
770
|
-
def draw_collapsible(self, context, layout):
|
|
771
|
-
"""
|
|
772
|
-
|
|
773
|
-
:param context:
|
|
774
|
-
:param layout:
|
|
775
|
-
"""
|
|
776
|
-
...
|
|
777
|
-
|
|
778
|
-
def draw_preset(self, _context):
|
|
779
|
-
"""Define these on the subclass:
|
|
780
|
-
- preset_operator (string)
|
|
781
|
-
- preset_subdir (string)Optionally:
|
|
782
|
-
- preset_add_operator (string)
|
|
783
|
-
- preset_extensions (set of strings)
|
|
784
|
-
- preset_operator_defaults (dict of keyword args)
|
|
785
|
-
|
|
786
|
-
:param _context:
|
|
787
|
-
"""
|
|
788
|
-
...
|
|
789
|
-
|
|
790
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
791
|
-
"""Adds driver(s) to the given property
|
|
792
|
-
|
|
793
|
-
:return: The driver(s) added.
|
|
794
|
-
:rtype: bpy.types.FCurve
|
|
795
|
-
"""
|
|
796
|
-
...
|
|
797
|
-
|
|
798
|
-
def driver_remove(self) -> bool:
|
|
799
|
-
"""Remove driver(s) from the given property
|
|
800
|
-
|
|
801
|
-
:return: Success of driver removal.
|
|
802
|
-
:rtype: bool
|
|
803
|
-
"""
|
|
804
|
-
...
|
|
805
|
-
|
|
806
|
-
def get(self):
|
|
807
|
-
"""Returns the value of the custom property assigned to key or default
|
|
808
|
-
when not found (matches Python's dictionary function of the same name).
|
|
809
|
-
|
|
810
|
-
"""
|
|
811
|
-
...
|
|
812
|
-
|
|
813
|
-
def id_properties_clear(self):
|
|
814
|
-
"""
|
|
815
|
-
|
|
816
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
817
|
-
"""
|
|
818
|
-
...
|
|
819
|
-
|
|
820
|
-
def id_properties_ensure(self):
|
|
821
|
-
"""
|
|
822
|
-
|
|
823
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
824
|
-
"""
|
|
825
|
-
...
|
|
826
|
-
|
|
827
|
-
def id_properties_ui(self):
|
|
828
|
-
"""
|
|
829
|
-
|
|
830
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
831
|
-
"""
|
|
832
|
-
...
|
|
833
|
-
|
|
834
|
-
def is_extended(self): ...
|
|
835
|
-
def is_property_hidden(self) -> bool:
|
|
836
|
-
"""Check if a property is hidden.
|
|
837
|
-
|
|
838
|
-
:return: True when the property is hidden.
|
|
839
|
-
:rtype: bool
|
|
840
|
-
"""
|
|
841
|
-
...
|
|
842
|
-
|
|
843
|
-
def is_property_overridable_library(self) -> bool:
|
|
844
|
-
"""Check if a property is overridable.
|
|
845
|
-
|
|
846
|
-
:return: True when the property is overridable.
|
|
847
|
-
:rtype: bool
|
|
848
|
-
"""
|
|
849
|
-
...
|
|
850
|
-
|
|
851
|
-
def is_property_readonly(self) -> bool:
|
|
852
|
-
"""Check if a property is readonly.
|
|
853
|
-
|
|
854
|
-
:return: True when the property is readonly (not writable).
|
|
855
|
-
:rtype: bool
|
|
856
|
-
"""
|
|
857
|
-
...
|
|
858
|
-
|
|
859
|
-
def is_property_set(self) -> bool:
|
|
860
|
-
"""Check if a property is set, use for testing operator properties.
|
|
861
|
-
|
|
862
|
-
:return: True when the property has been set.
|
|
863
|
-
:rtype: bool
|
|
864
|
-
"""
|
|
865
|
-
...
|
|
866
|
-
|
|
867
|
-
def items(self):
|
|
868
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
869
|
-
dictionary function of the same name).
|
|
870
|
-
|
|
871
|
-
:return: custom property key, value pairs.
|
|
872
|
-
"""
|
|
873
|
-
...
|
|
874
|
-
|
|
875
|
-
def keyframe_delete(self) -> bool:
|
|
876
|
-
"""Remove a keyframe from this properties fcurve.
|
|
877
|
-
|
|
878
|
-
:return: Success of keyframe deletion.
|
|
879
|
-
:rtype: bool
|
|
880
|
-
"""
|
|
881
|
-
...
|
|
882
|
-
|
|
883
|
-
def keyframe_insert(self) -> bool:
|
|
884
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
885
|
-
|
|
886
|
-
:return: Success of keyframe insertion.
|
|
887
|
-
:rtype: bool
|
|
888
|
-
"""
|
|
889
|
-
...
|
|
890
|
-
|
|
891
|
-
def keys(self):
|
|
892
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
893
|
-
dictionary function of the same name).
|
|
894
|
-
|
|
895
|
-
:return: custom property keys.
|
|
896
|
-
"""
|
|
897
|
-
...
|
|
898
|
-
|
|
899
|
-
def path_from_id(self) -> str:
|
|
900
|
-
"""Returns the data path from the ID to this object (string).
|
|
901
|
-
|
|
902
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
903
|
-
to this struct and property (when given).
|
|
904
|
-
:rtype: str
|
|
905
|
-
"""
|
|
906
|
-
...
|
|
907
|
-
|
|
908
|
-
def path_menu(
|
|
909
|
-
self,
|
|
910
|
-
searchpaths: list[str],
|
|
911
|
-
operator: str,
|
|
912
|
-
*,
|
|
913
|
-
props_default: dict = None,
|
|
914
|
-
prop_filepath: str | None = "filepath",
|
|
915
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
916
|
-
filter_path=None,
|
|
917
|
-
display_name: collections.abc.Callable | None = None,
|
|
918
|
-
add_operator=None,
|
|
919
|
-
add_operator_props=None,
|
|
920
|
-
):
|
|
921
|
-
"""Populate a menu from a list of paths.
|
|
922
|
-
|
|
923
|
-
:param searchpaths: Paths to scan.
|
|
924
|
-
:type searchpaths: list[str]
|
|
925
|
-
:param operator: The operator id to use with each file.
|
|
926
|
-
:type operator: str
|
|
927
|
-
:param props_default: Properties to assign to each operator.
|
|
928
|
-
:type props_default: dict
|
|
929
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
930
|
-
:type prop_filepath: str | None
|
|
931
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
932
|
-
|
|
933
|
-
Returning false excludes the file from the list.
|
|
934
|
-
:type filter_ext: collections.abc.Callable | None
|
|
935
|
-
:param filter_path:
|
|
936
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
937
|
-
:type display_name: collections.abc.Callable | None
|
|
938
|
-
:param add_operator:
|
|
939
|
-
:param add_operator_props:
|
|
940
|
-
"""
|
|
941
|
-
...
|
|
942
|
-
|
|
943
|
-
def path_resolve(self):
|
|
944
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
945
|
-
...
|
|
946
|
-
|
|
947
|
-
def pop(self):
|
|
948
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
949
|
-
when not found (matches Python's dictionary function of the same name).
|
|
950
|
-
|
|
951
|
-
"""
|
|
952
|
-
...
|
|
953
|
-
|
|
954
|
-
def prepend(self, draw_func):
|
|
955
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
956
|
-
the menus draw function
|
|
957
|
-
|
|
958
|
-
:param draw_func:
|
|
959
|
-
"""
|
|
960
|
-
...
|
|
961
|
-
|
|
962
|
-
def property_overridable_library_set(self) -> bool:
|
|
963
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
964
|
-
|
|
965
|
-
:return: True when the overridable status of the property was successfully set.
|
|
966
|
-
:rtype: bool
|
|
967
|
-
"""
|
|
968
|
-
...
|
|
969
|
-
|
|
970
|
-
def property_unset(self):
|
|
971
|
-
"""Unset a property, will use default value afterward."""
|
|
972
|
-
...
|
|
973
|
-
|
|
974
|
-
def remove(self, draw_func):
|
|
975
|
-
"""Remove a draw function that has been added to this menu
|
|
976
|
-
|
|
977
|
-
:param draw_func:
|
|
978
|
-
"""
|
|
979
|
-
...
|
|
980
|
-
|
|
981
|
-
def type_recast(self):
|
|
982
|
-
"""Return a new instance, this is needed because types
|
|
983
|
-
such as textures can be changed at runtime.
|
|
984
|
-
|
|
985
|
-
:return: a new instance of this object with the type initialized again.
|
|
986
|
-
"""
|
|
987
|
-
...
|
|
988
|
-
|
|
989
|
-
def values(self):
|
|
990
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
991
|
-
dictionary function of the same name).
|
|
992
|
-
|
|
993
|
-
:return: custom property values.
|
|
994
|
-
"""
|
|
995
|
-
...
|
|
996
|
-
|
|
997
|
-
class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
998
|
-
bl_rna: typing.Any
|
|
999
|
-
id_data: typing.Any
|
|
1000
|
-
|
|
1001
|
-
def append(self, draw_func):
|
|
1002
|
-
"""Append a draw function to this menu,
|
|
1003
|
-
takes the same arguments as the menus draw function
|
|
1004
|
-
|
|
1005
|
-
:param draw_func:
|
|
1006
|
-
"""
|
|
1007
|
-
...
|
|
1008
|
-
|
|
1009
|
-
def as_pointer(self) -> int:
|
|
1010
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1011
|
-
|
|
1012
|
-
:return: int (memory address).
|
|
1013
|
-
:rtype: int
|
|
1014
|
-
"""
|
|
1015
|
-
...
|
|
1016
|
-
|
|
1017
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1018
|
-
"""
|
|
1019
|
-
|
|
1020
|
-
:return: The RNA type or default when not found.
|
|
1021
|
-
:rtype: bpy.types.Struct
|
|
1022
|
-
"""
|
|
1023
|
-
...
|
|
1024
|
-
|
|
1025
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1026
|
-
"""
|
|
1027
|
-
|
|
1028
|
-
:return: The class or default when not found.
|
|
1029
|
-
:rtype: typing.Any
|
|
1030
|
-
"""
|
|
1031
|
-
...
|
|
1032
|
-
|
|
1033
|
-
def draw_item(
|
|
1034
|
-
self,
|
|
1035
|
-
_context,
|
|
1036
|
-
layout,
|
|
1037
|
-
_data,
|
|
1038
|
-
attribute,
|
|
1039
|
-
_icon,
|
|
1040
|
-
_active_data,
|
|
1041
|
-
_active_propname,
|
|
1042
|
-
_index,
|
|
1043
|
-
):
|
|
1044
|
-
"""
|
|
1045
|
-
|
|
1046
|
-
:param _context:
|
|
1047
|
-
:param layout:
|
|
1048
|
-
:param _data:
|
|
1049
|
-
:param attribute:
|
|
1050
|
-
:param _icon:
|
|
1051
|
-
:param _active_data:
|
|
1052
|
-
:param _active_propname:
|
|
1053
|
-
:param _index:
|
|
1054
|
-
"""
|
|
1055
|
-
...
|
|
1056
|
-
|
|
1057
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1058
|
-
"""Adds driver(s) to the given property
|
|
1059
|
-
|
|
1060
|
-
:return: The driver(s) added.
|
|
1061
|
-
:rtype: bpy.types.FCurve
|
|
1062
|
-
"""
|
|
1063
|
-
...
|
|
1064
|
-
|
|
1065
|
-
def driver_remove(self) -> bool:
|
|
1066
|
-
"""Remove driver(s) from the given property
|
|
1067
|
-
|
|
1068
|
-
:return: Success of driver removal.
|
|
1069
|
-
:rtype: bool
|
|
1070
|
-
"""
|
|
1071
|
-
...
|
|
1072
|
-
|
|
1073
|
-
def filter_items(self, _context, data, property):
|
|
210
|
+
def filter_items(self, _context, data, property):
|
|
1074
211
|
"""
|
|
1075
212
|
|
|
1076
213
|
:param _context:
|
|
@@ -1078,159 +215,3 @@ class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
|
1078
215
|
:param property:
|
|
1079
216
|
"""
|
|
1080
217
|
...
|
|
1081
|
-
|
|
1082
|
-
def get(self):
|
|
1083
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1084
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1085
|
-
|
|
1086
|
-
"""
|
|
1087
|
-
...
|
|
1088
|
-
|
|
1089
|
-
def id_properties_clear(self):
|
|
1090
|
-
"""
|
|
1091
|
-
|
|
1092
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1093
|
-
"""
|
|
1094
|
-
...
|
|
1095
|
-
|
|
1096
|
-
def id_properties_ensure(self):
|
|
1097
|
-
"""
|
|
1098
|
-
|
|
1099
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1100
|
-
"""
|
|
1101
|
-
...
|
|
1102
|
-
|
|
1103
|
-
def id_properties_ui(self):
|
|
1104
|
-
"""
|
|
1105
|
-
|
|
1106
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1107
|
-
"""
|
|
1108
|
-
...
|
|
1109
|
-
|
|
1110
|
-
def is_extended(self): ...
|
|
1111
|
-
def is_property_hidden(self) -> bool:
|
|
1112
|
-
"""Check if a property is hidden.
|
|
1113
|
-
|
|
1114
|
-
:return: True when the property is hidden.
|
|
1115
|
-
:rtype: bool
|
|
1116
|
-
"""
|
|
1117
|
-
...
|
|
1118
|
-
|
|
1119
|
-
def is_property_overridable_library(self) -> bool:
|
|
1120
|
-
"""Check if a property is overridable.
|
|
1121
|
-
|
|
1122
|
-
:return: True when the property is overridable.
|
|
1123
|
-
:rtype: bool
|
|
1124
|
-
"""
|
|
1125
|
-
...
|
|
1126
|
-
|
|
1127
|
-
def is_property_readonly(self) -> bool:
|
|
1128
|
-
"""Check if a property is readonly.
|
|
1129
|
-
|
|
1130
|
-
:return: True when the property is readonly (not writable).
|
|
1131
|
-
:rtype: bool
|
|
1132
|
-
"""
|
|
1133
|
-
...
|
|
1134
|
-
|
|
1135
|
-
def is_property_set(self) -> bool:
|
|
1136
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1137
|
-
|
|
1138
|
-
:return: True when the property has been set.
|
|
1139
|
-
:rtype: bool
|
|
1140
|
-
"""
|
|
1141
|
-
...
|
|
1142
|
-
|
|
1143
|
-
def items(self):
|
|
1144
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1145
|
-
dictionary function of the same name).
|
|
1146
|
-
|
|
1147
|
-
:return: custom property key, value pairs.
|
|
1148
|
-
"""
|
|
1149
|
-
...
|
|
1150
|
-
|
|
1151
|
-
def keyframe_delete(self) -> bool:
|
|
1152
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1153
|
-
|
|
1154
|
-
:return: Success of keyframe deletion.
|
|
1155
|
-
:rtype: bool
|
|
1156
|
-
"""
|
|
1157
|
-
...
|
|
1158
|
-
|
|
1159
|
-
def keyframe_insert(self) -> bool:
|
|
1160
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1161
|
-
|
|
1162
|
-
:return: Success of keyframe insertion.
|
|
1163
|
-
:rtype: bool
|
|
1164
|
-
"""
|
|
1165
|
-
...
|
|
1166
|
-
|
|
1167
|
-
def keys(self):
|
|
1168
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1169
|
-
dictionary function of the same name).
|
|
1170
|
-
|
|
1171
|
-
:return: custom property keys.
|
|
1172
|
-
"""
|
|
1173
|
-
...
|
|
1174
|
-
|
|
1175
|
-
def path_from_id(self) -> str:
|
|
1176
|
-
"""Returns the data path from the ID to this object (string).
|
|
1177
|
-
|
|
1178
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1179
|
-
to this struct and property (when given).
|
|
1180
|
-
:rtype: str
|
|
1181
|
-
"""
|
|
1182
|
-
...
|
|
1183
|
-
|
|
1184
|
-
def path_resolve(self):
|
|
1185
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1186
|
-
...
|
|
1187
|
-
|
|
1188
|
-
def pop(self):
|
|
1189
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1190
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1191
|
-
|
|
1192
|
-
"""
|
|
1193
|
-
...
|
|
1194
|
-
|
|
1195
|
-
def prepend(self, draw_func):
|
|
1196
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1197
|
-
the menus draw function
|
|
1198
|
-
|
|
1199
|
-
:param draw_func:
|
|
1200
|
-
"""
|
|
1201
|
-
...
|
|
1202
|
-
|
|
1203
|
-
def property_overridable_library_set(self) -> bool:
|
|
1204
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1205
|
-
|
|
1206
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1207
|
-
:rtype: bool
|
|
1208
|
-
"""
|
|
1209
|
-
...
|
|
1210
|
-
|
|
1211
|
-
def property_unset(self):
|
|
1212
|
-
"""Unset a property, will use default value afterward."""
|
|
1213
|
-
...
|
|
1214
|
-
|
|
1215
|
-
def remove(self, draw_func):
|
|
1216
|
-
"""Remove a draw function that has been added to this menu
|
|
1217
|
-
|
|
1218
|
-
:param draw_func:
|
|
1219
|
-
"""
|
|
1220
|
-
...
|
|
1221
|
-
|
|
1222
|
-
def type_recast(self):
|
|
1223
|
-
"""Return a new instance, this is needed because types
|
|
1224
|
-
such as textures can be changed at runtime.
|
|
1225
|
-
|
|
1226
|
-
:return: a new instance of this object with the type initialized again.
|
|
1227
|
-
"""
|
|
1228
|
-
...
|
|
1229
|
-
|
|
1230
|
-
def values(self):
|
|
1231
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1232
|
-
dictionary function of the same name).
|
|
1233
|
-
|
|
1234
|
-
:return: custom property values.
|
|
1235
|
-
"""
|
|
1236
|
-
...
|